CodeQL library for Python
codeql/python-all 2.2.0 (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)