def prompt_continue(name):
    """Prompt for required user intervention."""

    print(name + " already exists. " + "Data will be added to " + name + " if you continue. ")
    prompt = "Do you want to continue? (y/n): "
    inp = input(prompt).strip().lower()
    if inp not in ['y', 'n']:
        print(inp + " is not a valid option, please try again...")
        return prompt_continue(name)
    return inp == 'y'