Determine if on "hosted test" or "published"?

That being said, that state is on the viewer but not on the live config (dashboard).
Really looking forward to that and theme to get passed into the dashboard config.