public boolean isEmpty() {
        return empty;
    }
Returns {@code true} if this collection contains no elements.
Prefer this method over {@link #getResultRows()} == 0 because current method reflect actual state of the collection
while {@link #getResultRows()} is send from server before sending actual data.

@return {@code true} if this collection contains no elements
client-v2/src/main/java/com/clickhouse/client/api/query/Records.java