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

    @wraps(fn)
    def decorated(*args, **kwargs):
        if _check_token():
            return fn(*args, **kwargs)
        if _security._unauthorized_callback:
            return _security._unauthorized_callback()
        else:
            return _get_unauthorized_response()
    return decorated

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

def auth_token_required(fn):