code: def ask_confirmation():
      
      while True:
          print("Do you want to restart these brokers? ", end="")
          choice = input().lower()
          if choice in ['yes', 'y']:
              return True
          elif choice in ['no', 'n']:
              return False
          else:
              print("Please respond with 'yes' or 'no'")
docs: Ask for confirmation to the user. Return true if the user confirmed
      the execution, false otherwise.
  
      :returns: bool