CodeQL library for Python
Search

Member predicate Value::hasAttribute

Holds if this value has the attribute name

predicate hasAttribute(string name)