boolean (@Nullable Project project, @NotNull DiffContent content) { if (project == null) return false; Language language = getLanguage(project, content); if (language == null) return false; return accepts(project, language); }