def ask_for_confirmation(message):
    """Ask user to confirm an action.

    Parameters
    ----------
    message : str
        Message/question the user will be prompted to confirm.

    Returns
    -------
    bool
        True if user input is "yes", False otherwise.
    """
    answer = input(f"{message} Type 'yes' to continue: ")
    if answer != "yes":
        return False
    else:
        return True