(item)
return isinstance(item, types.FunctionType)
Takes item object, returns True if it is a function.
Takes item object, returns True if it is a function.
Takes item object returns True if it is a function .
def is_function(item):
    """ Takes item object, returns True if it is a function.
    """
    return isinstance(item, types.FunctionType)
def is_function ( item ) : return isinstance ( item , types . FunctionType )