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

    def decorator(f):
        @functools.wraps(f)
        @login_required
        def wrapper(request, *args, **kw):
            from mkt.access import acl
            for (app, action) in pairs:
                if acl.action_allowed(request, app, action):
                    return f(request, *args, **kw)
            raise PermissionDenied
        return wrapper
    return decorator

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

def permission_required(pairs):