boolean (@NotNull SuggestedItem item) { if (!mySdkTypeFilter.value(item.sdkType)) return false; for (Sdk sdk : mySdkModel.getSdks()) { if (FileUtil.pathsEqual(sdk.getHomePath(), item.homePath)) return false; } return true; }