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

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