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

Member predicate ControlFlowNode::isImport

Whether this flow node corresponds to an import

predicate isImport()