code: def get_bool_raw(s: str) -> Optional[bool]:
      
      if s == "Y" or s == "y":
          return True
      elif s == "N" or s == "n":
          return False
      return None
docs: Maps ``"Y"``, ``"y"`` to ``True`` and ``"N"``, ``"n"`` to ``False``.