human
Complete the below
def can_upload_exploration(handler):

    ''''Decorator that checks if the current user can upload exploration.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def test_can_upload(self, **kwargs):
        if (not self.user_id):
            raise self.NotLoggedInException
        if (not current_user_services.is_current_user_super_admin()):
            raise self.UnauthorizedUserException('You    do    not    have    credentials    to    upload    exploration.')
        return handler(self, **kwargs)
    test_can_upload.__wrapped__ = True
    return test_can_upload