CodeQL library for Python
codeql/python-all 1.0.3-dev (changelog, source)

Member predicate ClassValue::isSequence

Holds if this class is a sequence. Mutually exclusive with isMapping().

Following the definition from We don’t look at the keys accepted by `getitem, but default to treating a class as a sequence (so might treat some mappings as sequences).

predicate isSequence()