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

Member predicate ClassValue::hasAttribute

Holds if this class has the attribute name, including attributes declared by super classes.

predicate hasAttribute(string name)