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

Member predicate ModuleObjectInternal::exports

Holds if this module “exports” name. That is, does it define name in __all__ or is __all__ not defined and name a global variable that does not start with “_” This is the set of names imported by from ... import *.

predicate exports(string name)