@Override
    public Set<TopicPartition> standbyTopicPartitions() {
        return standbyTopicPartitions;
    }
(Source) Topic partitions for which the instance acts as standby.

@return set of standby topic partitions
streams/src/main/java/org/apache/kafka/streams/state/internals/StreamsMetadataImpl.java