code: function Utilities_inDom(element) {
              return new Promise(function (c) {
                  if (_Global.document.body.contains(element)) {
                      c();
                  } else {
                      var nodeInsertedHandler = function () {
                          element.removeEventListener("WinJSNodeInserted", nodeInsertedHandler, false);
                          c();
                      };
                      exports._addInsertedNotifier(element);
                      element.addEventListener("WinJSNodeInserted", nodeInsertedHandler, false);
                  }
              });
          }
docs: Returns a promise which completes when *element* is in the DOM.