MCPcopy Create free account
hub / github.com/ipython/traitlets / initialized

Method initialized

traitlets/config/configurable.py:598–600  ·  view source on GitHub ↗

Has an instance been created?

(cls)

Source from the content-addressed store, hash-verified

596
597 @classmethod
598 def initialized(cls) -> bool:
599 """Has an instance been created?"""
600 return hasattr(cls, "_instance") and cls._instance is not None

Callers 6

test_instanceMethod · 0.80
test_inheritanceMethod · 0.80
_config_defaultMethod · 0.80
get_loggerFunction · 0.80
clear_instanceMethod · 0.80
get_configFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_instanceMethod · 0.64
test_inheritanceMethod · 0.64
_config_defaultMethod · 0.64