def get_yes_no_from_user(message):
    """return the Boolean value of the users response the a yes/no question"""
    while True:
        try:
            yes_no = bool('y' in input(message).lower())
        except ValueError:
            print("Sorry, I didn't understand that\n")
            continue
        else:
            break
    return yes_no
