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

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