code: def in_tf_graph():
      if global_state.get_global_attribute("in_tf_graph_scope", False):
          return True
  
      if "tensorflow" in sys.modules:
          from keras.utils.module_utils import tensorflow as tf
  
          return not tf.executing_eagerly()
      return False
  
file_path: keras/keras/utils/backend_utils.py
imports: import sys
  from keras import backend
  from keras.backend.common import global_state
label_desc: Use image node_id 1 for calling a global function with example usage: in_tf_graph() and returns: False, True, unknown