transformedOutgoingRouteBuilder.addToClusterList(newClusterId); Set<Long> localClusterIds = toVrf.getBgpProcess().getClusterIds(); Set<Long> outgoingClusterList = transformedOutgoingRouteBuilder.getClusterList(); if (localClusterIds.stream().anyMatch(outgoingClusterList::contains)) {