public boolean isRolledBack() {
        return state.get() == ROLLED_BACK;
    }
Checks whether the transation's state is {@link #ROLLED_BACK}.

@return true if the state is {@link #ROLLED_BACK}; false otherwise
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseTransaction.java