function check() {
					if (Rendering.isPending()) {
						setTimeout(check, 1);
					} else {
						resolve();
					}
				}
If the UI5 core is dirty, the function returns a promise that waits until the rendering
is finished.

@returns {Promise}
  A promise that is resolved when the UI5 core is no longer dirty

@public