human
I wrote the below code

    def decorator(cls):
        cls.check_permission = staticmethod(check)
        return cls
    return decorator

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

def permission_check(check):