code: def _is_running_ipython() -> bool:
      try:
          get_ipython()  # type: ignore
          return True
      except NameError:
          return False
  
imports: import csv
  import uuid
  import json
  import codecs
  import warnings
  from abc import ABCMeta, abstractmethod
  from enum import Enum
  from collections import defaultdict
  from pathlib import Path
  import typing
label_desc: Use image node_id 2 for calling a global function with example usage: _is_running_ipython() and returns: True, False