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

    def decorator(fx):
        def wrapper(*args, **kwargs):
            UserManager.get().require_permission(extract_context(), permission)
            return fx(*args, **kwargs)
        return wrapper
    return decorator

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

def restrict(permission):