boolean (FilePath path) { VirtualFile virtualFile = path.getVirtualFile(); if (virtualFile != null) { FileStatus fileStatus = FileStatusManager.getInstance(myProject).getStatus(virtualFile); return fileStatus != FileStatus.UNKNOWN && fileStatus != FileStatus.ADDED; } return true; }