code: def stop(self, **kwargs):
      self.task_controller = TaskController()
      input_dict = {}
      mutually_exclusive(["id", "all"], kwargs, input_dict)
      if "id" in input_dict:
          self.cli_helper.echo(
              __("info", "cli.run.stop", input_dict["id"])
          )
      elif "all" in input_dict:
          self.cli_helper.echo(__("info", "cli.run.stop.all"))
      else:
          raise RequiredArgumentMissing()
      try:
          if "id" in input_dict:
              result = self.task_controller.stop(
                  task_id=input_dict["id"]
              )
              if not result:
                  self.cli_helper.echo(
                      __("error", "cli.run.stop", input_dict["id"])
                  )
              else:
                  self.cli_helper.echo(
                      __(
                          "info",
                          "cli.run.stop.success",
                          input_dict["id"],
                      )
                  )
          if "all" in input_dict:
              result = self.task_controller.stop(all=input_dict["all"])
              if not result:
                  self.cli_helper.echo(__("error", "cli.run.stop.all"))
              else:
                  self.cli_helper.echo(
                      __("info", "cli.run.stop.all.success")
                  )
          return result
      except Exception:
          if "id" in input_dict:
              self.cli_helper.echo(
                  __("error", "cli.run.stop", input_dict["id"])
              )
          if "all" in input_dict:
              self.cli_helper.echo(__("error", "cli.run.stop.all"))
          return False
  
imports: from __future__ import print_function
  import os
  import sys
  import shlex
  import platform
  from datetime import datetime
  from datmo.core.util.i18n import get
  from datmo.core.util.misc_functions import mutually_exclusive, printable_object
  from datmo.cli.command.project import ProjectCommand
  from datmo.core.controller.task import TaskController
  from datmo.core.controller.snapshot import SnapshotController
  from datmo.cli.driver.helper import Helper
  from datmo.core.entity.run import Run
  from datmo.core.util.exceptions import RequiredArgumentMissing
  from datmo.core.util.misc_functions import prettify_datetime
label_desc: Use image node_id 5 for calling the RunCommand obj's underlying member method code with example usage: obj.stop() and returns: result, False