boolean (@NotNull VirtualFile file) { final String path = PythonSdkUtil.getSkeletonsRootPath(PathManager.getSystemPath()); final VirtualFile skeletonRoot = LocalFileSystem.getInstance().findFileByPath(path); if (skeletonRoot != null && file.getPath().startsWith(skeletonRoot.getPath())) { return true; } else if (file.equals(PyUserSkeletonsUtil.getUserSkeletonsDirectory())) { return true; } else if (PyTypeShed.INSTANCE.isInside(file)) { return true; } else { return false; } }