code: def confirm_ask(prompt, **kwargs) -> bool:
      kwargs["console"] = console
      return Confirm.ask(prompt=prompt, **kwargs)
  
file_path: dstack/src/dstack/_internal/cli/utils/common.py
imports: import logging
  import os
  from datetime import datetime
  from typing import Optional
  from rich.console import Console, ConsoleRenderable
  from rich.logging import RichHandler
  from rich.prompt import Confirm
  from rich.theme import Theme
  from rich.traceback import Traceback
  from dstack._internal.core.errors import CLIError, DstackError
label_desc: Use image node_id 3 for calling a global function with example usage: confirm_ask(prompt) and returns: Confirm