@SuppressWarnings("unchecked")
        @Override
        public boolean accepts(final StateStore stateStore) {
            for (final Class matchToClass : matchTo) {
                if (!matchToClass.isAssignableFrom(stateStore.getClass())) {
                    return false;
                }
            }
            return true;
        }
A {@link QueryableStoreType} that accepts {@link ReadOnlySessionStore}.

@param <K> key type of the store
@param <V> value type of the store
@return {@link QueryableStoreTypes.SessionStoreType}
streams/src/main/java/org/apache/kafka/streams/state/QueryableStoreTypes.java