Yes
I pass an object to a sub. The object is either a view or classes which have a view.
I want to determine if the passed object can be added as a children of a parent (without throwing an error).
If it can't be added as a children it means that I need to run a get method on the object before adding the view.
I also understand that I could make another sub for that specific set of classes but I thought maybe there's a quick way to verify what I described.
Sorry I'm french canadian my english is not very good