public boolean isTaskStoppable(Task t) {
    return t.getGroup().equals(environment.getEnvironmentName())
        && !t.getTaskDefinitionArn().equals(environment.getTaskDefinitionArn())
        && HEALTHY_STATES.contains(t.getStatus());
  }
Wrapper around {@link EnvironmentDescription} that makes it easy to match {@link
com.amazonaws.blox.scheduling.state.ClusterSnapshot.Task} instances to a Daemon environment.
scheduling-manager/src/main/java/com/amazonaws/blox/scheduling/scheduler/engine/daemon/DaemonEnvironment.java