code: def __bool__(self) -> NoReturn:
      raise TypeError(
          "bool() not supported for instances of type '{0}' "
          "(did you mean to use '{0}.value' instead?)".format(
              type(self).__name__
          )
      )
  
file_path: flax/flax/configurations.py
imports: import os
  from contextlib import contextmanager
  from typing import Any, Generic, NoReturn, TypeVar, overload
label_desc: Use image node_id 2 for calling the FlagHolder obj's underlying member method code with example usage: obj.__bool__() without return types