code: def avail_approaches(pkg):
      """Create list of available modules.
  
      Parameters
      ----------
      pkg : module
          module to inspect
  
      Returns
      -------
      method : list
          A list of available submodules
      """
      methods = [
          modname
          for importer, modname, ispkg in pkgutil.walk_packages(
              path=pkg.__path__
          )
          if modname
          not in ["common_args", "directions", "sobol_sequence"]
          and "test" not in modname
      ]
  
      return methods
  
imports: import pkgutil
  import csv
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: avail_approaches(pkg) and returns: methods