def isClassAdvisor(ob):
 return (isinstance(ob, FunctionType) and hasattr(ob, 'previousMetaclass'))

def isClassAdvisor ( ob ) : return ( isinstance ( ob , FunctionType ) and hasattr ( ob , 'previousMetaclass' ) )
true if ob is a class advisor function .