code: def _get_runs_dict(module):
      """Return a dict containing benchmark options of the module.
  
      Dict of (str: obj) representing benchmark name and its function object.
  
      Args:
          module (object): Module object.
  
      Returns:
          dict: Benchmark options of the module.
  
      """
      d = {}
      for name, obj in inspect.getmembers(module):
          if inspect.isfunction(obj) and name.endswith("benchmarks"):
              d[name] = obj
      return d
  
file_path: garage/benchmarks/src/garage_benchmarks/run_benchmarks.py
imports: import inspect
  import click
  from garage_benchmarks import benchmark_algos, benchmark_auto, benchmark_baselines, benchmark_policies, benchmark_q_functions
label_desc: Use image node_id 5 for calling a global function with example usage: _get_runs_dict(module) and returns: d