function(oContext, aRuntimeContextParameters) {
			var that = this;
			var bContextActive = true;

			var aParameterOfContext = oContext.parameters;
			aParameterOfContext.every(function (oParameter) {
				bContextActive = bContextActive && that._checkContextParameter(oParameter, aRuntimeContextParameters);
				return bContextActive; // breaks loop on false
			});

			return bContextActive;
		}
function(oContext, aRuntimeContextParameters) {
			var that = this;
			var bContextActive = true;

			var aParameterOfContext = oContext.parameters;
			aParameterOfContext.every(function (oParameter) {
				bContextActive = bContextActive && that._checkContextParameter(oParameter, aRuntimeContextParameters);
				return bContextActive; // breaks loop on false
			});

			return bContextActive;
		}
function ( oContext , aRuntimeContextParameters ) { var that = this ; var bContextActive = true ; var aParameterOfContext = oContext . parameters ; aParameterOfContext . every ( function ( oParameter ) { bContextActive = bContextActive && that . _checkContextParameter ( oParameter , aRuntimeContextParameters ) ; return bContextActive ; // breaks loop on false } ) ; return bContextActive ; }
Helper to filter passed context object.
If a passed context is not within the context objects of the given application the context is filtered.

The filtering is done
[At runtime] by comparing the parameters of the context objects with the actual runtime context.
[At designtime] by comparing the id of the context objects with the set url parameter "sap-ui-designTimeContexts"

@param {object} oContext - context object to be validated
@param {object[]} aRuntimeContextParameters - context parameter returned form the context providers
@returns {boolean} bContextActive - determines if the passed context matches the context of the current environment
@private
Helper to filter passed context object . If a passed context is not within the context objects of the given application the context is filtered .
Checks if the given context has parameters