def user_bool(prompt: str) -> bool:
    """Get a boolean from the user"""
    lookup = {"y": True, "yes": True, "n": False, "no": False}
    options = "[y/n]: "
    value = input(f"{prompt} {options}    ").lower().strip()

    while True:
        if value in lookup:
            return lookup[value]

        print(f"Please enter {options}")
        value = input(f"{prompt}:    ").lower().strip()