if (isLeader() && isAgent(name)) {
if (isLeader(thisAgent) && isAgent(name)) { newState(name, HEALTH_CHECK);
    public void expired(String name) {      if (isLeader() && isAgent(name)) {        //newState(name, HEALTH_CHECK);      }    }