code: def is_jupyter():
      """Check if the module is running on Jupyter notebook/console.
  
      Returns:
          bool: True if the module is running on Jupyter notebook or Jupyter console,
          False otherwise.
      """
      try:
          shell_name = get_ipython().__class__.__name__
          if shell_name == "ZMQInteractiveShell":
              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 1 for calling a global function with example usage: is_jupyter() and returns: True, False, False