boolean (SelectInContext context) { if (myProject.isDisposed()) return false; VirtualFile virtualFile = context.getVirtualFile(); boolean valid = virtualFile.isValid(); if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) { SelectInProjectViewImplKt.getLOG().debug("File " + virtualFile + " is " + (valid ? "valid" : "NOT valid")); } return valid; }