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