def isabstract(object):
 return (isinstance(object, type) and (object.__flags__ & TPFLAGS_IS_ABSTRACT))

def isabstract ( object ) : return ( isinstance ( object , type ) and ( object . __flags__ & TPFLAGS_IS_ABSTRACT ) )
return true if the object is an abstract base class .