docs: public static StoreDefinition getStoreDefinitionWithName(List<StoreDefinition> storeDefs,
                                                               String storeName) {
          StoreDefinition def = null;
          for(StoreDefinition storeDef: storeDefs) {
              if(storeDef.getName().compareTo(storeName) == 0) {
                  def = storeDef;
                  break;
              }
          }
  
          if(def == null) {
              throw new VoldemortException("Could not find store " + storeName);
          }
          return def;
      }