code: boolean checkAddOrSubmit(Hashtable<String, KSPresentation> mentions) throws InterruptedException{
          if (((mentions.size() % nafPopulator.batchSize) == 0) && (nafPopulator.batchSize != -1)) {
              addAndFreeMemory(mentions);
  	    return true;
          } else {
  	    return false;
  	}
      }
docs: /*
  return true if mentions have been submitted on the queue