datetime
and requests
in Python, or react
and axios
in TypeScript. In Codegen, these are represented as ExternalModule instances.
isinstance(symbol, ExternalModule)
to reliably identify external
modules. This works better than checking names or paths since it handles all
edge cases.