code: private boolean reinitTaskTracker(TaskTrackerAction[] actions) {
      if (actions != null) {
        for (TaskTrackerAction action : actions) {
          if (action.getActionId() ==
              TaskTrackerAction.ActionType.REINIT_TRACKER) {
            LOG.info("Recieved RenitTrackerAction from JobTracker");
            return true;
          }
        }
      }
      return false;
    }
docs: Check if the jobtracker directed a 'reset' of the tasktracker.
  
  @param actions the directives of the jobtracker for the tasktracker.
  @return <code>true</code> if tasktracker is to be reset,
  <code>false</code> otherwise.