public boolean hasUnderlyingStream() {
        return stream.hasInput();
    }
Checks if there's underlying input stream. Same as
{@code getUnderlyingStream().hasInput()}.

@return true if there's underlying input stream; false otherwise
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseInputStream.java