code: def _shared_object_loading_scope():
      """Get the current shared object saving scope in a threadsafe manner."""
      return getattr(SHARED_OBJECT_LOADING, "scope", NoopLoadingScope())
  
imports: import contextlib
  import inspect
  import json
  import threading
  import weakref
  from keras.api_export import keras_export
  from keras.saving import object_registration
label_desc: Use image node_id 2 for calling a global function with example usage: _shared_object_loading_scope() and returns: getattr