class_docstr: A bounded functional stack implementation. Elements may be pytrees.
docstr: Returns true if the stack is empty.
docstr_tok: ["Returns","true","if","the","stack","is","empty","."]
code: def empty(self) -> Any:
      """Returns true if the stack is empty."""
      return self._size == 0
  
file_path: jax/jax/_src/lax/stack.py
imports: from __future__ import annotations
  from typing import Any
  import jax
  from jax import lax
  import jax.numpy
label_desc: Use image node_id 4 for calling the Stack obj's underlying member method code with example usage: obj.empty() and returns: unknown