def yes_no(question):
    """Ask question via user input and return True False."""
    reply = ''
    while reply not in ['Y', 'N']:
        reply = input(f"{question} (y/n): ").upper().strip()
        reply = reply[0]
        if reply == 'Y':
            return True
        elif reply == 'N':
            return False
        else:
            continue