boolean (@NotNull VirtualFile file) { final List<VirtualFile> roots = myDescriptor.getRoots(); if (roots.size() == 0) return true; for (VirtualFile root : roots) { if (root != null && VfsUtilCore.isAncestor(root, file, false)) { return true; } } return false; }