title: Determine current "environment"
body: <p>Is there a way to detect if I'm looking at a PowerApp in the editor or the published version? Something like <code>If(ENVIRONMENT_EDITOR, foo)</code></p>
  <p>I have some code in my OnStart that sets a bunch of defaults for my development/testing ease, but which should not get published … which I've accidentally done a few times.</p>