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

Member predicate ClassValue::declaresAttribute

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

predicate declaresAttribute(string name)