public Set<TransactionState> filteredStates() {
        return filteredStates;
    }
Returns the set of states to be filtered or empty if no states have been specified.

@return the current set of filtered states (empty means that no states are filtered and
        all transactions will be returned)
clients/src/main/java/org/apache/kafka/clients/admin/ListTransactionsOptions.java