How to tell if page is loading in theme component / widget?

The short it is, the condition should be in the template. i.e.

{{#if xyz}}
your code
{{/If}}

The ember templates dynamic. If the value changes, the widget will be hidden.