@Override
        public boolean hasNext() {
            return next != null;
        }
Override this for different behavior to determine if there is enough
confidence in the predictions to stop.

@param predictionsQueue
@param newPredictions
@param ngramCounts
@return
tika-langdetect/tika-langdetect-opennlp/src/main/java/org/apache/tika/langdetect/opennlp/ProbingLanguageDetector.java