MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / _is_enabled

Function _is_enabled

helpers/cache.py:100–103  ·  view source on GitHub ↗
(area: str)

Source from the content-addressed store, hash-verified

98
99
100def _is_enabled(area: str) -> bool:
101 if not _enabled_global:
102 return False
103 return _enabled_areas.get(area, True)
104
105
106def _create_entry(value: Any) -> CacheEntry:

Callers 4

hasFunction · 0.85
addFunction · 0.85
getFunction · 0.85
removeFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected