code: def get_sessions(self) -> List[SessionInfo]:
      return [
          SessionInfo(session_id=session_id)
          for session_id in self._session_refs.keys()
      ]
  
imports: import asyncio
  import functools
  import logging
  import os
  import time
  from typing import Dict, List, Optional
  from ....None import oscar
  from ....utils import to_binary
  from ...cluster import ClusterAPI
  from ...core import NodeRole, create_service_session, destroy_service_session
  from ..core import SessionInfo
label_desc: Use image node_id 2 for calling the SessionManagerActor obj's underlying member method code with example usage: obj.get_sessions() and returns: unknown