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