code: def is_databricks():
      """Check if the module is running on Databricks.
  
      Returns:
          bool: True if the module is running on Databricks notebook,
          False otherwise.
      """
      try:
          if os.path.realpath(".") == "/databricks/driver":
              return True
          else:
              return False
      except NameError:
          return False
  
file_path: recommenders/recommenders/utils/notebook_utils.py
imports: import os
  import re
  import nbformat
  from nbconvert.preprocessors import ExecutePreprocessor
  from IPython.display import display
label_desc: Use image node_id 2 for calling a global function with example usage: is_databricks() and returns: True, False, False