code: def get_global_attribute(name, default=None, set_to_default=False):
      attr = getattr(GLOBAL_STATE_TRACKER, name, None)
      if attr is None and default is not None:
          attr = default
          if set_to_default:
              set_global_attribute(name, attr)
      return attr
  
imports: import threading
  from keras import backend
  from keras.api_export import keras_export
label_desc: Use image node_id 2 for calling a global function with example usage: get_global_attribute(name, default, set_to_default) and returns: attr