CodeQL library for Python
Search

Member predicate ControlFlowNode::isImport

Whether this flow node corresponds to an import

predicate isImport()