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