filterChangeOrChangeDefinitionsByCurrentLayer(aChanges, sCurrentLayer) {
			if (!sCurrentLayer) {
				return aChanges;
			}

			return aChanges.filter(function(oChangeOrChangeContent) {
				var sChangeLayer = oChangeOrChangeContent.getLayer && oChangeOrChangeContent.getLayer() || oChangeOrChangeContent.layer;
				return sCurrentLayer === sChangeLayer;
			});
		}
Filters the passed Changes or change definitions and returns only the ones in the current layer

@param {sap.ui.fl.apply._internal.flexObjects.FlexObject|object[]} aChanges Array of Changes or ChangeDefinitions
@param {string} sCurrentLayer Current Layer
@returns {sap.ui.fl.apply._internal.flexObjects.FlexObject|object[]} Array of filtered Changes