if (didRestart && !suppressPingsOnRestart) {
if (isSentinel() && didRestart && !suppressPingsOnRestart) {
  public void leaderChange(String priorLeader, String newLeader) {    if (logger.isInfoEnabled()) {      logger.info("LeaderChange: prior=" + priorLeader + " new=" + newLeader);    }    if (isLeader(thisAgent) && model.getCurrentState(preferredLeader()) == DEAD) {      newState(preferredLeader(), RESTART);    }    checkCommunityReady();    if (didRestart && !suppressPingsOnRestart) {      newState(model.listEntries(CommunityStatusModel.AGENT, -1), HEALTH_CHECK);      newState(model.listEntries(CommunityStatusModel.NODE, -1), HEALTH_CHECK);    }    // Setup defense coordination    if (isSentinel()) {      new DuplicateAgentDetector(model, getRestartHelper());      if (!isCoordinatorEnabled()) {        coordinatorHelper = CoordinatorHelperFactory.getCoordinatorHelper(            getBindingSite());        coordinatorHelper.addListener((DeconflictStateController)                                      getController(DECONFLICT));      }    }  }