code: def list_modules():
      """Return list of module names that contain models / model entrypoints"""
      modules = _module_to_models.keys()
      return list(sorted(modules))
  
file_path: generalized-moe/domainbed/registry.py
imports: import sys
  import re
  import fnmatch
  from collections import defaultdict
  from copy import deepcopy
label_desc: Use image node_id 6 for calling a global function with example usage: list_modules() and returns: list