boolean (@NotNull Project project, @NotNull VirtualFile file) { FileStatus status = FileStatusManager.getInstance(project).getStatus(file); return status != FileStatus.UNKNOWN && status != FileStatus.ADDED && status != FileStatus.IGNORED; }