class_docstr: A thread-local stack of objects for providing implicit defaults.
class_docstr_tok: ["A","thread-local","stack","of","objects","for","providing","implicit","defaults","."]
code: def is_cleared(self) -> bool:
      return not self.stack
  
file_path: tensorflow/tensorflow/python/framework/stack.py
imports: from collections.abc import Iterator
  import threading
  from typing import Generic, Optional, TypeVar
  from tensorflow.python.util import tf_contextlib
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 4 for calling the DefaultStack obj's underlying member method code with example usage: obj.is_cleared() and returns: unknown