docstr: Ask the user for a yes / no question and return True if the answer is yes and False otherwise.
  The function will keep asking the user for an answer until he answers one of the possible responses.
  A default answer can be passed and will be selected if the user presses enter
  :param title: The question to ask the user
  :param default: the default answer
  :return: True / False according to the users answer
docstr_tok: ["Ask","the","user","for","a","yes","\/","no","question","and","return","True","if","the","answer","is","yes","and","False","otherwise",".","The","function","will","keep","asking","the","user","for","an","answer","until","he","answers","one","of","the","possible","responses",".","A","default","answer","can","be","passed","and","will","be","selected","if","the","user","presses","enter",":","param","title",":","The","question","to","ask","the","user",":","param","default",":","the","default","answer",":","return",":","True","\/","False","according","to","the","users","answer"]
code: def ask_yes_no(self, title: str, default: Union[None, bool] = None):
      """
      Ask the user for a yes / no question and return True if the answer is yes and False otherwise.
      The function will keep asking the user for an answer until he answers one of the possible responses.
      A default answer can be passed and will be selected if the user presses enter
      :param title: The question to ask the user
      :param default: the default answer
      :return: True / False according to the users answer
      """
      default_answer = "y/n"
      if default == True:
          default_answer = "Y/n"
      elif default == False:
          default_answer = "y/N"
  
      while True:
          answer = input(
              "{}{}{} ({})".format(
                  self._prefix_ask, title, self._suffix, default_answer
              )
          )
          if (
              answer == "yes"
              or answer == "YES"
              or answer == "y"
              or answer == "Y"
          ):
              return True
          elif (
              answer == "no"
              or answer == "NO"
              or answer == "n"
              or answer == "N"
          ):
              return False
          elif answer == "":
              if default is not None:
                  return default
  
imports: import atexit
  import datetime
  import os
  import re
  import shutil
  import signal
  import time
  import uuid
  from subprocess import Popen, PIPE
  from typing import Union
  from PIL import Image
  from pandas import DataFrame
  from six.moves import input
label_desc: Use image node_id 13 for calling the ScreenLogger obj's underlying member method code with example usage: obj.ask_yes_no(title, default) and returns: True, False, default