src/sap.m/src/sap/m/library.js
function checkAndSetProperty(oControl, property, value) {
			if (value !== undefined) {
				var fSetter = oControl['set' + capitalize(property)];
				if (typeof (fSetter) === "function") {
					fSetter.call(oControl, value);
					return true;
				}
			}
			return false;
		}
function checkAndSetProperty(oControl, property, value) {
			if (value !== undefined) {
				var fSetter = oControl['set' + capitalize(property)];
				if (typeof (fSetter) === "function") {
					fSetter.call(oControl, value);
					return true;
				}
			}
			return false;
		}
function checkAndSetProperty ( oControl , property , value ) { if ( value !== undefined ) { var fSetter = oControl [ 'set' + capitalize ( property ) ] ; if ( typeof ( fSetter ) === "function" ) { fSetter . call ( oControl , value ) ; return true ; } } return false ; }
Checks if value is not undefined, in which case the
setter function for a given property is called.
Returns true if value is set, false otherwise.

@private
Checks if value is not undefined in which case the setter function for a given property is called . Returns true if value is set false otherwise .