def askYesOrNo(msg):
    """ Asks a Yes/No question. Returns True/False. """
    while True:
        edit = input('\n' + msg + ' (y/n): ')
        if edit == 'y':
            return True
        elif edit == 'n':
            return False
        else:
            print('Please enter Yes ("y") or No ("n").')