human
I wrote the below code

    @wraps(view_func)
    def wrapped_view(view_obj, *args, **kwargs):
        'Wrapper    for    the    view    function.'
        if ApiAccessRequest.has_api_access(args[0].user):
            return view_func(view_obj, *args, **kwargs)
        return redirect(reverse('api_admin:api-request'))
    return wrapped_view

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

def require_api_access(view_func):