def is_builtin(self, name):
        """Check whether the named module is a builtin."""
        for builtin in BUILTIN_MODULES:
            if self.is_dotted_prefix(builtin, name):
                return True
        return False
Check whether the named module is a builtin.
tools/module_bundler.py