MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / is_enabled

Method is_enabled

src/summarycode/facet.py:125–129  ·  view source on GitHub ↗
(self, facet, **kwargs)

Source from the content-addressed store, hash-verified

123 ]
124
125 def is_enabled(self, facet, **kwargs):
126 if TRACE:
127 logger_debug('is_enabled: facet:', facet)
128
129 return bool(facet)
130
131 def process_codebase(self, codebase, facet=(), **kwargs):
132 """

Callers

nothing calls this directly

Calls 2

boolFunction · 0.85
logger_debugFunction · 0.70

Tested by

no test coverage detected