src/sap.ui.fl/src/sap/ui/fl/context/ContextManager.js
function(aContextObjects, aDesignTimeContextIdsByUrl) {
			var aActiveContexts = [];

			aContextObjects.forEach(function (oContext) {
				var bContextActive = ((aDesignTimeContextIdsByUrl ? Array.prototype.indexOf.call(aDesignTimeContextIdsByUrl, oContext.id) : -1)) !== -1;

				if (bContextActive) {
					aActiveContexts.push(oContext.id);
				}
			});

			return aActiveContexts;
		}
function(aContextObjects, aDesignTimeContextIdsByUrl) {
			var aActiveContexts = [];

			aContextObjects.forEach(function (oContext) {
				var bContextActive = ((aDesignTimeContextIdsByUrl ? Array.prototype.indexOf.call(aDesignTimeContextIdsByUrl, oContext.id) : -1)) !== -1;

				if (bContextActive) {
					aActiveContexts.push(oContext.id);
				}
			});

			return aActiveContexts;
		}
function ( aContextObjects , aDesignTimeContextIdsByUrl ) { var aActiveContexts = [ ] ; aContextObjects . forEach ( function ( oContext ) { var bContextActive = ( ( aDesignTimeContextIdsByUrl ? Array . prototype . indexOf . call ( aDesignTimeContextIdsByUrl , oContext . id ) : - 1 ) ) !== - 1 ; if ( bContextActive ) { aActiveContexts . push ( oContext . id ) ; } } ) ; return aActiveContexts ; }
Function to filter all contexts by the context URL parameters.

@param {string[]} aDesignTimeContextIdsByUrl - list of ids passed via URL
@param {object[]} aContextObjects - context objects within the application
@returns {string[]} aActiveContexts - id list of all active contexts
Function to filter all contexts by the context URL parameters .