I am trying to integrate through an object wo (user defined) and wo.obj is another user defined object. How do I tell it is an instance of a class rather than normal data types?
type(wo.obj)
<class '__main__.test'>
type(wo.obj) is types.InstanceType
False
type(wo.obj) is types.ClassType
False