if (!m_FirstBatchDone) {
if (!isFirstBatchDone()) {
  public boolean batchFinished() {    if (getInputFormat() == null) {      throw new IllegalStateException("No input instance format defined");    }    if (!m_FirstBatchDone) {      // Do the subsample, and clear the input instances.      createSubsample();    }    flushInput();    m_NewBatch = true;    m_FirstBatchDone = true;    return (numPendingOutput() != 0);  }