MCPcopy Create free account
hub / github.com/intelowlproject/IntelOwl / disabled

Method disabled

api_app/models.py:179–187  ·  view source on GitHub ↗

Check if the module is disabled. Returns: bool: True if disabled, False otherwise.

(self)

Source from the content-addressed store, hash-verified

177
178 @property
179 def disabled(self):
180 """
181 Check if the module is disabled.
182
183 Returns:
184 bool: True if disabled, False otherwise.
185 """
186 # it is disabled if it does not exist a configuration enabled
187 return not self.configs.filter(disabled=False).exists()
188
189 @cached_property
190 def python_class(self) -> Type["Plugin"]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected