human
I wrote the below code

    @wraps(f)
    def decorated_function(*args, **kwargs):
        user = current_identity
        if user.is_staff:
            return f(*args, **kwargs)
        if (('event_id' in kwargs) and (user.is_registrar(kwargs['event_id']) or user.is_organizer(kwargs['event_id']) or user.is_coorganizer(kwargs['event_id']))):
            return f(*args, **kwargs)
        return ForbiddenError({'source': ''}, 'Registrar    Access    is    Required.').respond()
    return decorated_function

What's a good function header?

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

@second_order_decorator(jwt_required)
def is_registrar(f):