class_docstr: Storage for a value, with checks for overwriting or reading empty store.
class_docstr_tok: ["Storage","for","a","value",",","with","checks","for","overwriting","or","reading","empty","store","."]
code: def val(self):
      if not self:
          raise StoreException("Store empty")
      return self._val
  
imports: from __future__ import annotations
  from functools import partial
  import operator
  from typing import Any, Callable, NamedTuple
  import weakref
  from jax._src import config
  from jax._src import core
  from jax._src import traceback_util
  from jax._src.tree_util import tree_map
  from jax._src.util import curry
label_desc: Use image node_id 4 for calling the Store obj's underlying member method code with example usage: obj.val() and returns: self