docs: 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;
    }