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

    @wraps(func)
    def inner(request, *args, **kwargs):
        if has_access(request.user, 'certificates', 'global'):
            return func(request, *args, **kwargs)
        else:
            return HttpResponseForbidden()
    return inner

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

def require_certificate_permission(func):