Searches a UIView's ancestor hierarchy to see if it's contained within a specific class