src/sap.ui.fl/src/sap/ui/fl/context/ContextManager.js
function (oChange, aActiveContexts) {
			var sChangeContext = oChange.context || "";

			if (!sChangeContext) {
				// change is free of context (always applied)
				return true;
			}

			return aActiveContexts && aActiveContexts.indexOf(sChangeContext) !== -1;
		}
function (oChange, aActiveContexts) {
			var sChangeContext = oChange.context || "";

			if (!sChangeContext) {
				// change is free of context (always applied)
				return true;
			}

			return aActiveContexts && aActiveContexts.indexOf(sChangeContext) !== -1;
		}
function ( oChange , aActiveContexts ) { var sChangeContext = oChange . context || "" ; if ( ! sChangeContext ) { // change is free of context (always applied) return true ; } return aActiveContexts && aActiveContexts . indexOf ( sChangeContext ) !== - 1 ; }
Helper to check if a passed change is free of contexts or in a matching context.

@param {sap.ui.fl.Change} oChange - change object which has to be filtered
@param {sap.ui.fl.Context[]} aActiveContexts - active runtime or designtime context
@returns {boolean} is change context free or has a valid context
Helper to check if a passed change is free of contexts or in a matching context .