boolean (@Nullable Project project, @NotNull JBIterable<? extends Change> changes, @NotNull JBIterable<? extends FilePath> paths) { return paths.isNotEmpty() || changes.filter(it -> ChangeDiffRequestProducer.canCreate(project, it)).isNotEmpty(); }