import click


def confirm_destroy(name, abort=True):
    """Confirm the user wants to destroy the machine."""
    return click.confirm('Are you sure you want to destroy the "{0}" machine?'.format(name), abort=abort)