code: def get_isolation(name: str = DEFAULT_ISOLATION):
      isolation = _name_to_isolation[name]
      if isolation.loop.is_closed():  # pragma: no cover
          _name_to_isolation.pop(name)
          raise KeyError(name)
      return isolation
  
file_path: mars/mars/lib/aio/isolation.py
imports: import asyncio
  import atexit
  import threading
  from typing import Dict, Optional
label_desc: Use image node_id 2 for calling a global function with example usage: get_isolation(name) and returns: isolation