def get_yes_or_no_input(prompt):
    """
    Prompts the user for a y/n answer
    returns True if yes, and False if no

    :param prompt: (String)
        prompt for input.

    :return: (Boolean)
        True for Yes
        False for No
    """
    while True:
        value = input(prompt + " [y/n]: ")
        if value == 'y':
            return True
        elif value == 'n':
            return False
        else:
            print("Input not accepted, please try again\n")