public boolean hasStore(final String name) {
        return stateFactories.containsKey(name) || globalStateStores.containsKey(name);
    }
Get any global {@link StateStore}s that are part of the
topology
@return map containing all global {@link StateStore}s
streams/src/main/java/org/apache/kafka/streams/processor/internals/InternalTopologyBuilder.java