code: def is_deferred_assertion_context():
      return getattr(_DEFERRED_ASSERTION_CONTEXT, "is_deferred", False)
  
imports: import contextlib
  import functools
  import threading
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import composite_tensor
  from tensorflow.python.framework import type_spec
  from tensorflow.python.framework import type_spec_registry
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.util import tf_inspect
  from tensorflow.python.util import variable_utils
label_desc: Use image node_id 2 for calling a global function with example usage: is_deferred_assertion_context() and returns: getattr