MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __bool__

Method __bool__

monai/bundle/config_parser.py:211–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 return item in self._value
210
211 def __bool__(self) -> bool:
212 return bool(self._value)
213
214 def __repr__(self) -> str:
215 return repr(self._value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected