code: def handle_agent_down(args: argparse.Namespace) -> None:
      if args.all:
          cluster_utils.stop_all_agents()
      else:
          cluster_utils.stop_agent(agent_name=args.agent_name)
  
file_path: determined/harness/determined/deploy/local/cli.py
imports: import argparse
  import sys
  from pathlib import Path
  from typing import Callable, Dict
  import determined
  from determined.common.declarative_argparse import Arg, BoolOptArg, Cmd, Group
  from determined.deploy.local import cluster_utils
  from .preflight import check_docker_install
label_desc: Use image node_id 7 for calling a global function with example usage: handle_agent_down(args) without return types