human
Complete this python program:
def can_subscribe_to_users(handler):
assistant
#Here is the Python program you requested.

    """Decorator to check whether user can subscribe/unsubscribe a creator.
    """
    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