code: def _detect_colab():
      try:
          import google.colab  # noqa: F401
  
          return True
      except ImportError:
          return False
  
file_path: interpret/python/interpret-core/interpret/provider/_environment.py
imports: import os
label_desc: Use image node_id 3 for calling a global function with example usage: _detect_colab() and returns: True, False