human
I wrote the below code

    @functools.wraps(func)
    def wrapped(self, context, *args, **kwargs):
        action = func.__name__
        check_policy(context, action)
        return func(self, context, *args, **kwargs)
    return wrapped

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

def wrap_check_policy(func):