private void validateFeedName(final String feedName) {
        final List<DocRef> docRefs = feedStore.findByName(feedName);
        if (docRefs.isEmpty()) {
            throw new RuntimeException(LogUtil.message("No feed exists with name '{}'", feedName));
        } else if (docRefs.size() > 1) {
            throw new RuntimeException(LogUtil.message("Multiple feeds exist with name '{}': {}",
                    feedName,
                    docRefs.stream()
                            .map(DocRef::getUuid)
                            .collect(Collectors.joining(", "))));
        }
    }
@return The count of feed stores initialised, 1 or 0.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/offheapstore/DelegatingRefDataOffHeapStore.java