boolean (@NotNull final VirtualFile file) { if (!isUnderContent(file) || getValue() == null) { return false; } final PsiDirectory[] directories = getValue().getPackage().getDirectories(); for (PsiDirectory directory : directories) { if (VfsUtilCore.isAncestor(directory.getVirtualFile(), file, false)) return true; } return false; }