function validateModuleContent(sModulePath, vContent) {
		if (vContent instanceof Promise) {
			throw new Error(`The module '${sModulePath}' returns a Promise where a control class was expected. Promises as module content are not supported. Please also refer to https://ui5.sap.com/#/topic/0cb44d7a147640a0890cefa5fd7c7f8e.`);
		}
	}
Checks whether the given module has an invalid module content.
Invalid in the sense of the XMLTP means: a Promise.

@param {string} sModulePath the module to check for validity
@param {any} vContent the module content to check for validity