code: public static Set<String> getStoreNamesSet(List<StoreDefinition> storeDefList) {
          HashSet<String> storeSet = new HashSet<String>();
          for(StoreDefinition def: storeDefList) {
              storeSet.add(def.getName());
          }
          return storeSet;
      }
docs: Given a list of store definitions return a set of store names
  
  @param storeDefList The list of store definitions
  @return Returns a set of store names