human
Here's a good function header given the following:
I wrote the below code

    if ((not hasattr(function, 'func_closure')) or (not function.func_closure)):
        return function
    def _get_wrapped_function(function):
        if ((not hasattr(function, 'func_closure')) or (not function.func_closure)):
            return None
        for closure in function.func_closure:
            func = closure.cell_contents
            deeper_func = _get_wrapped_function(func)
            if deeper_func:
                return deeper_func
            elif hasattr(closure.cell_contents, '__call__'):
                return closure.cell_contents
    return _get_wrapped_function(function)

What's a good function header?
assistant
#Here's a good function header.

def get_wrapped_function(function):