def unpack_session(item):
 _init_globals()
 session = _SESSION_HANDLER.get(item[1])
 if (session and (session.conn_time == item[2])):
  return session
 return None

def unpack_session ( item ) : _init_globals ( ) session = _SESSION_HANDLER . get ( item [ 1 ] ) if ( session and ( session . conn_time == item [ 2 ] ) ) : return session return None
check and convert internal representations back to sessions .