code: function isSupported() {
      // if not checked before, run check
      if (_supported === null) {
          var viewMan = Windows.UI.ViewManagement; 
          _supported = (viewMan.StatusBar && viewMan.StatusBar.getForCurrentView);
      }
      return _supported;
  }
docs: set to null so we can check first time