docs: public static StoreDefinition getStoreDef(List<StoreDefinition> list, String name) {
          for(StoreDefinition def: list)
              if(def.getName().equals(name))
                  return def;
          return null;
      }