boolean (@NotNull DiffContent content) { if (content instanceof DocumentContent) return true; if (content instanceof FileContent && ((FileContent)content).getFile().isInLocalFileSystem()) return true; return false; }