function isMessageRelatedToPath(oMessage, sPath) {
		return oMessage.getTargets().some(function(sTarget) {
			return sTarget.endsWith(sPath);
		});
	}
Checks whether the given message is related to the given binding path.
@param {sap.ui.core.message.Message} oMessage
@param {string} sPath
@returns {boolean} Whether the message is related to the path
@private