def _confirm_prompt(message, prompt=
    """
Are you sure? [y/yes (default: no)]: """, affirmations=('Y', 'Yes',
    'yes', 'y')):
    """
    Display a message, then confirmation prompt, and return true
    if the user responds with one of the affirmations.
    """
    answer = input(message + prompt)
    return answer in affirmations
