code: def find_internal_python_modules(
      root_module: types.ModuleType,
  ) -> Sequence[Tuple[str, types.ModuleType]]:
      """Returns `(name, module)` for all RLax submodules under `root_module`."""
      modules = set([(root_module.__name__, root_module)])
      visited = set()
      to_visit = [root_module]
  
      while to_visit:
          mod = to_visit.pop()
          visited.add(mod)
  
          for name in dir(mod):
              obj = getattr(mod, name)
              if inspect.ismodule(obj) and obj not in visited:
                  if obj.__name__.startswith("rlax"):
                      if "_src" not in obj.__name__:
                          to_visit.append(obj)
                          modules.add((obj.__name__, obj))
  
      return sorted(modules)
  
label_desc: Use image node_id 1 for calling a global function with example usage: find_internal_python_modules(root_module) and returns: sorted