Get class hierarchy 

Returns the complete class hierarchy of an object or a class name. Can be used as method or function.