private static boolean isUnderModuleRootsButNotSdk(@NotNull VirtualFile file, @NotNull Set<VirtualFile> moduleRoots, @NotNull Sdk sdk) {
    if (VfsUtilCore.isUnder(file, moduleRoots)) {
      final VirtualFile envRoot = PySdkExtKt.getInnerVirtualEnvRoot(sdk);
      if (envRoot == null) {
        return true;
      }

      return !VfsUtilCore.isAncestor(envRoot, file, false);
    }

    return false;
  }
private static boolean isUnderModuleRootsButNotSdk(@NotNull VirtualFile file, @NotNull Set<VirtualFile> moduleRoots, @NotNull Sdk sdk)