public boolean isTransactional() {
        return txRef.get() != null;
    }
Checks if the request is bounded with a transaction.

@return true if the request is bounded with a transaction; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseRequest.java