Maybe we can rename this to `getPublishedState`, to be consistent with the names here? /cc @chirimoya