code: def _need_suspend_sigint() -> bool:
      try:
          from IPython import get_ipython
  
          return get_ipython() is not None
      except ImportError:
          return False
  
imports: import os
  from typing import Dict, List
  from ...None import oscar
  from ...resource import cuda_count, Resource
label_desc: Use image node_id 1 for calling a global function with example usage: _need_suspend_sigint() and returns: unknown, False