def isdata(object):
 return (not (inspect.ismodule(object) or inspect.isclass(object) or inspect.isroutine(object) or inspect.isframe(object) or inspect.istraceback(object) or inspect.iscode(object)))

def isdata ( object ) : return ( not ( inspect . ismodule ( object ) or inspect . isclass ( object ) or inspect . isroutine ( object ) or inspect . isframe ( object ) or inspect . istraceback ( object ) or inspect . iscode ( object ) ) )
check if an object is of a type that probably means its data .