boolean (@NotNull Project project, @NotNull Collection<? extends VirtualFile> files) { ReadonlyStatusHandler.OperationStatus status = ReadonlyStatusHandler.getInstance(project).ensureFilesWritable(files); return !status.hasReadonlyFiles(); }