true if the view is a subview of a given view or if it’s identical to that view; otherwise, it returns
- macOS 10.0+
The view to test for subview relationship within the view hierarchy.
The method returns
true if the view is either an immediate or distant subview of