def _yes_or_no(input_text) ->bool:
    """prompts for a yes or no choices for |input_text|"""
    choice = ''
    while not choice.startswith(('y', 'n')):
        choice = input(f'{input_text} (y/n)').lower()
    return True if choice.startswith('y') else False
