function (component, savedComponents) {
			for (var index = 0; index < savedComponents.length; index += 1) {
				if (savedComponents[index].text == component.text && savedComponents[index].selected) {
					return true;
				}
			}
			return false;
		}
function (component, savedComponents) {
			for (var index = 0; index < savedComponents.length; index += 1) {
				if (savedComponents[index].text == component.text && savedComponents[index].selected) {
					return true;
				}
			}
			return false;
		}
function ( component , savedComponents ) { for ( var index = 0 ; index < savedComponents . length ; index += 1 ) { if ( savedComponents [ index ] . text == component . text && savedComponents [ index ] . selected ) { return true ; } } return false ; }
Checks if given execution scope component is selected comparing against an array of settings
@param {Object} component The current component object to be checked
@param {Array} savedComponents The local storage settings for the checked execution scope components
@returns {boolean} If the component is checked or not
Checks if given execution scope component is selected comparing against an array of settings
Check if a component is selected in the saved list