def _confirm_prompt(message, prompt="<STR_LIT>",<EOL>affirmations=("<STR_LIT:Y>", "<STR_LIT>", "<STR_LIT:yes>", "<STR_LIT:y>")):
answer = input(message + prompt)<EOL>return answer in affirmations<EOL>
Display a message, then confirmation prompt, and return true
if the user responds with one of the affirmations.