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

Member predicate Object::hasLongName

Holds if this object can be referred to by longName For example, the modules dict in the sys module has the long name sys.modules and the name os.path.join will refer to the path joining function even though it might be declared in the posix or nt modules. Long names can have no more than three dots after the module name.

predicate hasLongName(string longName)