rex.utilities.fun_utils.is_standalone_fun

is_standalone_fun(obj)[source]

Determine whether an object is a standalone function without a class

Returns

out (bool) – Whether the input object is a standalone function. For example, MyClass.bound_method will return False, whereas standalone_fun will return True.