I want to pass in various custom class objects into a method and for the method to check if the object has any content (i.e. a custom label has no text or an image view has no image etc). Is this possible?