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

Member predicate Value::hasAttribute

Holds if this value has the attribute name

predicate hasAttribute(string name)