boolean (Project project, File dstFile) { VirtualFile vfile = VfsUtil.findFileByIoFile(dstFile, true); return vfile == null || !ReadonlyStatusHandler.getInstance(project).ensureFilesWritable(Collections.singleton(vfile)).hasReadonlyFiles(); }