def promptYesOrNo(prompt):
    """
    Prompts the user via the command line for a yes or a no input.
    Will only take the letters y (yes) and n (no) as input. (case-insensitive)
    No is the default option if an invalid input is given.
    :param prompt: the text prompt given to the user before a decision
    :return: True is the choice was a 'yes' and False in all other circumstances
    """
    choice = input(prompt + " [y/N]: ")[0].capitalize()
    return choice == "Y"