Check if an optional class property is an instance of a given type
The class instance
The property name
The type to check against
True if the property is an instance of the given type
Check if an optional class property is an instance of a given type