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

Member predicate ClassObject::isContainer

Holds if this class is a container(). That is, does it have a getitem method.

predicate isContainer()