def do_exit(actions):
    for action_group in actions:
        if len(action_group.destroy) > 0:
            raise SystemExit(1)
.. todo::
dataset/ETHPy150Open ClusterHQ/flocker/admin/cleanup.py/do_exit--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/distributions/mnd.py/MND.free_energy