@Override
      public boolean hasMoreElements() {
        return msgStreamIterator.hasNext();
      }
@param inStream The stream from which bytes need to be read. If the underlying stream is SocketInputStream, it needs
              to be blocking
@param messageInfoList List of MessageInfo which contains details about the messages in the stream
@param transformers the list of the {@link Transformer} to use (in order).
@param metricRegistry Metric register to register metrics
@throws java.io.IOException
ambry-messageformat/src/main/java/com/github/ambry/messageformat/MessageSievingInputStream.java