Backport of e398f0dafdd47b0e68a921ec17487dfc4f8da55d (is_cluster_wide)