def isbuiltin(object):
 return isinstance(object, types.BuiltinFunctionType)

def isbuiltin ( object ) : return isinstance ( object , types . BuiltinFunctionType )
return true if the object is a built-in function or method .