public boolean hasNext() {
        return nextPos < this.interval.length;
    }
Returns {@code true} as long there are unread fields available, else {@code false}

@return {@code true} as long there are unread fields available, else {@code false}
src/main/java/org/apache/commons/imaging/formats/jpeg/decoder/JpegInputStream.java