human
I wrote the below code

    def test_can_subscribe(self, **kwargs):
        if (role_services.ACTION_SUBSCRIBE_TO_USERS in self.actions):
            return handler(self, **kwargs)
        else:
            raise base.UserFacingExceptions.UnauthorizedUserException('You    do    not    have    credentials    to    manage    subscriptions.')
    test_can_subscribe.__wrapped__ = True
    return test_can_subscribe

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

def can_subscribe_to_users(handler):