public boolean hasOutput() {
        return output != null;
    }
Checks if output stream is available or not.

@return true if output stream is available; false otherwise
clickhouse-data/src/main/java/com/clickhouse/data/ClickHousePassThruStream.java