public boolean isDead() {
        boolean isDead = true;
        Iterator i = getTransitions().iterator();
        while (isDead && i.hasNext()) {
            Transition transition = (Transition) i.next();
            isDead = !(transition.enabled(0));
        }
        return isDead;
    }