CodeQL library for Python
Search

Member predicate Value::isBuiltin

Holds if this value is builtin. Applies to built-in functions and methods, but also integers and strings.

predicate isBuiltin()