def get(self):
    user = users.get_current_user()
    if user:
        if users.is_current_user_admin():
            self.response.write('You are an administrator.')
        else:
            self.response.write('You are not an administrator.')
    else:
        self.response.write('You are not logged in.')
def get(self):
    user = users.get_current_user()
    if user:
        if users.is_current_user_admin():
            self.response.write('You are an administrator.')
        else:
            self.response.write('You are not an administrator.')
    else:
        self.response.write('You are not logged in.')