code: def is_notebook():
      try:
          if "IPKernelApp" in get_ipython().config:
              return True
          else:
              return False
      except NameError:
          return False
  
imports: import argparse
  import datetime
  from functools import wraps
  import hashlib
  import base64
  from cryptography.fernet import Fernet
  from collections.abc import Callable
  import requests
  from mindsdb_sql import get_lexer_parser
  from mindsdb_sql.parser.ast import Identifier
  from mindsdb.utilities.fs import create_process_mark, delete_process_mark, set_process_mark
  from mindsdb.utilities import log
label_desc: Use image node_id 3 for calling a global function with example usage: is_notebook() and returns: True, False, False