def prompt_user_yes_no(question):
    """Prompt the user for a question with answer Y/N.

    :return: True if yes, False if no, ask again if any other answer
    """
    value = ''
    while value.lower() not in ['yes', 'no', 'n', 'y']:
        value = input("%s [yes/no] " % question)

    if value.lower() in ['yes', 'y']:
        return True
    else:
        return False