def is_method(function):
    return isinstance(function, MethodType)
Returns True if the passed in function is identified as a method (NOT a function)
dataset/ETHPy150Open timothycrosley/hug/hug/introspect.py/is_method