class_docstr: A yes / no confirmation prompt.
  
  Example:
      >>> if Confirm.ask("Continue"):
              run_job()
class_docstr_tok: ["A","yes","\/","no","confirmation","prompt",".","Example",":",">",">",">","if","Confirm.ask","(","``","Continue","''",")",":","run_job","(",")"]
docstr: Convert choices to a bool.
docstr_tok: ["Convert","choices","to","a","bool","."]
code: def process_response(self, value: str) -> bool:
      """Convert choices to a bool."""
      value = value.strip().lower()
      if value not in self.choices:
          raise InvalidResponse(self.validate_error_message)
      return value == self.choices[0]
  
imports: from typing import Any, Generic, List, Optional, TextIO, TypeVar, Union, overload
  from .None import get_console
  from .console import Console
  from .text import Text, TextType
label_desc: Use image node_id 2 for calling the Confirm obj's underlying member method code with example usage: obj.process_response(value) and returns: unknown