logger.debug("New state: agent=" + name + " state=ACTIVE");
    public void enter(String name) {      if (isLeader(thisAgent)) {        //for deconflict: the applicability condition of one active agent should        //be true and the defense op mode should be disabled.        if(getDeconflictHelper() != null) {          if(getDeconflictHelper().isDefenseApplicable(name))            getDeconflictHelper().changeApplicabilityCondition(name);          getDeconflictHelper().opmodeDisabled(name);        }        checkCommunityReady();      }      if (isLocal(name)) {        setExpiration(name, NEVER);  // Set expiration to NEVER for local agents,                                     // let heartbeatListener maintain status      }    }