rex.utilities.fun_utils.has_class

has_class(obj)[source]

Determine whether an object is a method that is bound to a class

Returns:

out (bool) – Whether the input object belongs to a class. For example, MyClass.bound_method will return True, whereas standalone_fun will return False.