CodeQL library for Python
codeql/python-all 0.7.1 (changelog, source)
Search

Member predicate ModuleValue::isUsedAsModule

When used as a normal module (for example, imported and used by other modules)

predicate isUsedAsModule()