code: def _extract_check_options(extra_config):
      check_options = dict()
      for key in _check_args:
          check_options[key] = extra_config.pop(key, True)
      return check_options
  
file_path: mars/mars/deploy/oscar/tests/session.py
imports: import asyncio
  import inspect
  import os
  import uuid
  from ....conftest import MARS_CI_BACKEND
  from ....core import OBJECT_TYPE
  from ....deploy.oscar.local import LocalCluster, LocalClient
  from ....session import AbstractSession, AsyncSession, ensure_isolation_created, _ensure_sync
  from ....tests.core import _check_args, ObjectCheckMixin
  from ..session import _IsolatedSession
label_desc: Use image node_id 2 for calling the CheckedSession obj's underlying member method code with example usage: obj._extract_check_options(extra_config) and returns: check_options