def ask_question(question, not_done):
    """Method to ask the user a simple yes or no question"""

    while not_done:
        answer = input("\n[?] {} ['yes' or 'no']: ".format(question))

        if answer[0].lower() == "y":
            break
        if answer[0].lower() == "n":
            not_done = False
            break

        print("\n[!] ERROR - your response", answer, " is invalid!\n")
        print('[-] Please type either "Yes" or "No"!\n')

    return not_done