human
I wrote the below code

    def test(user):
        return user.has_perm(permission_name)
    return user_passes_test(test)

What's a good function header?

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

def permission_required(permission_name):