code: def cmd_startstop(node, cmd_name, node_info):
      
      cmd_lu = {"run": ["ex_start_node", "wait_until_running", "RUNNING"],
                "stop": ["ex_stop_node", "", "STOPPING"]}
      # specific delay & message {provider: {command: [delay, message]}}
      cld_lu = {"azure": {"stop": [6, "Initiated"]},
                "aws": {"stop": [6, "Initiated"]}}
      conf_mess = ("\r{0}{1}{2} {3} - Confirm [y/N]: ".
                   format(C_STAT[cmd_name.upper()], cmd_name.upper(), C_NORM,
                          node_info))
      cmd_result = None
      if input_yn(conf_mess):
          exec_mess = ("\r{0}{1}{2} {3}:  ".
                       format(C_STAT[cmd_name.upper()], cmd_lu[cmd_name][2],
                              C_NORM, node_info))
          ui_erase_ln()
          ui_print(exec_mess)
          busy_obj = busy_disp_on()  # busy indicator ON
          node_drv = getattr(node, "driver")
          main_cmd = getattr(node_drv, cmd_lu[cmd_name][0])
          response = main_cmd(node)  # noqa
          cmd_wait = cmd_lu[cmd_name][1]
          if cmd_wait:
              seccmd = getattr(node_drv, cmd_wait)
              response = seccmd([node])  # noqa
          delay, cmd_end = cld_lu.get(node.cloud,
                                      {}).get(cmd_name, [0, "Successful"])
          sleep(delay)
          busy_disp_off(busy_obj)  # busy indicator OFF
          ui_print("\033[D")  # remove extra space
          cmd_result = True
          ui_print_suffix("{0} {1}".format(cmd_name.title(), cmd_end), C_GOOD)
          sleep(1.5)
      else:
          ui_print_suffix("Command Aborted")
          sleep(0.75)
      return cmd_result
docs: Confirm command and execute it.