def choice_yes(msg: str) -> bool:
    """
    Awaits user choice (Y/n).
    """
    while True:
        print(f"{msg} (Y/n) ", end="", flush=True)
        choice = input().lower()
        if choice in ["", "y", "yes"]:
            return True
        if choice in ["n", "no"]:
            return False

        print(f"Response '{choice}' not understood.")