code: def stop_mock_experiment():
      nnictl_experiment_config = Experiments()
      experiments_dict = nnictl_experiment_config.get_all_experiments()
      kill_command(experiments_dict["xOpEwA5w"].get("pid"))
      nnictl_experiment_config = Experiments()
      nnictl_experiment_config.remove_experiment("xOpEwA5w")
  
file_path: nni/test/ut/tools/nnictl/mock/experiment.py
imports: import argparse
  from pathlib import Path
  from subprocess import Popen, PIPE, STDOUT
  from nni.tools.nnictl.config_utils import Experiments
  from nni.tools.nnictl.common_utils import print_green
  from nni.tools.nnictl.command_utils import kill_command
  from nni.tools.nnictl.nnictl_utils import get_yml_content
label_desc: Use image node_id 2 for calling a global function with example usage: stop_mock_experiment() without return types