public boolean hasPersistentStores() {
        // If the app is using named topologies, there may not be any persistent state when it first starts up
        // but a new NamedTopology may introduce it later, so we must return true
        if (hasNamedTopologies()) {
            return true;
        }
        return evaluateConditionIsTrueForAnyBuilders(InternalTopologyBuilder::hasPersistentStores);
    }
@return true iff any of the topologies have no local (aka non-global) topology
streams/src/main/java/org/apache/kafka/streams/processor/internals/TopologyMetadata.java