code: private static boolean availablePrefixes(ComponentGroup group,
        Set<String> knownPrefixes) {
      if (knownPrefixes != null) {
        for (String prefix : group.prefixes) {
          if (knownPrefixes.contains(prefix)) {
            return true;
          }
        }
      }
      return false;
    }
docs: Available prefixes.
  
  @param group
  the group
  @param knownPrefixes
  the known prefixes
  @return true, if successful