boolean (@NotNull VirtualFile virtualFile) { final VirtualFile skeletonsDir = getUserSkeletonsDirectory(); if (skeletonsDir == null) { return false; } final String relativePath = VfsUtilCore.getRelativePath(virtualFile, skeletonsDir, '/'); // not under skeletons directory if (relativePath == null) { return false; } final String firstComponent = ContainerUtil.getFirstItem(StringUtil.split(relativePath, "/")); return STDLIB_SKELETONS.contains(firstComponent); }