human
Complete the below
def can_access_admin_page(handler):

    ''''Decorator that checks if the current user is a super admin.'
    '''

Write me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def test_super_admin(self, **kwargs):
        'Checks    if    the    user    is    logged    in    and    is    a    super    admin.'
        if (not self.user_id):
            raise self.NotLoggedInException
        if (not current_user_services.is_current_user_super_admin()):
            raise self.UnauthorizedUserException('%s    is    not    a    super    admin    of    this    application', self.user_id)
        return handler(self, **kwargs)
    test_super_admin.__wrapped__ = True
    return test_super_admin