boolean (@NotNull VirtualFile file) { VirtualFile closestRoot = findClosestRoot(file); if (closestRoot == null) return true; QualifiedName qName = computeQualifiedNameInRoot(closestRoot, file); if (qName == null) return true; return containsQualifiedNameInRoot(closestRoot, qName); }