@Override
        public boolean hasNext() {
            if (next != null) {
                return true;
            }
            next = read();
            return next != null;
        }
<p>Creates a {@link ContentInputStream} that wraps this ReadableContentChannel.</p>

@return The new ContentInputStream that wraps this.
jdisc_core/src/main/java/com/yahoo/jdisc/handler/ReadableContentChannel.java