human
Complete the below
def can_suggest_changes_to_exploration(handler):

    ''''Decorator to check whether a user can make suggestions to an
    exploration.'
    '''

Give me a the Python code you requested?
assistant
#Here is the Python code you requested.
    def test_can_suggest(self, exploration_id, **kwargs):
        if (role_services.ACTION_SUGGEST_CHANGES_TO_EXPLORATION in self.actions):
            return handler(self, exploration_id, **kwargs)
        else:
            raise base.UserFacingExceptions.UnauthorizedUserException('You    do    not    have    credentials    to    give    suggestions    to    this    exploration.')
    test_can_suggest.__wrapped__ = True
    return test_can_suggest