boolean (@NotNull @NonNls String url, @Nullable @NonNls Collection<String> rootUrls) { if (rootUrls == null || rootUrls.isEmpty()) return false; for (String excludesUrl : rootUrls) { if (isEqualOrAncestor(excludesUrl, url)) { return true; } } return false; }