code: def is_builtin_module(module_name):
      
      module_name = module_name.split(".")[0]
      return (module_name in MODULES or
              (module_name in cxx_keywords and module_name + "_" in MODULES))
docs: Test if a module is a builtin module (numpy, math, ...).