Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_instance
Method · 0.80
test_inheritance
Method · 0.80
_config_default
Method · 0.80
get_logger
Function · 0.80
clear_instance
Method · 0.80
get_config
Function · 0.80
Calls
no outgoing calls
Tested by
3
test_instance
Method · 0.64
test_inheritance
Method · 0.64
_config_default
Method · 0.64