MCPcopy Create free account
hub / github.com/twisted/twisted / isLoaded

Method isLoaded

src/twisted/python/modules.py:339–345  ·  view source on GitHub ↗

Determine if the module is loaded into sys.modules. @return: a boolean: true if loaded, false if not.

(self)

Source from the content-addressed store, hash-verified

337 return f"PythonModule<{self.name!r}>"
338
339 def isLoaded(self):
340 """
341 Determine if the module is loaded into sys.modules.
342
343 @return: a boolean: true if loaded, false if not.
344 """
345 return self.pathEntry.pythonPath.moduleDict.get(self.name) is not None
346
347 def iterAttributes(self):
348 """

Callers 4

iterAttributesMethod · 0.95
_packagePathsMethod · 0.95

Calls 1

getMethod · 0.45