'Retrieve data stored with set_session_data
Args:
session_id (string): The ID of this session as returned from check_auth
key (string): The key to store the data under
default (any): Value to return if the key has not been set'

def get_session_data(self, session_id, key, default=None):

    sess = self._get_session_info(session_id)
    return sess.setdefault('serverdict', {}).get(key, default)
