code: function(oScope, bVisibleOnly, sType) {
  			var mElements = oScope.getElements();
  			var aResult = [];
  			for (var n in mElements) {
  				var oElement = mElements[n];
  				if (oElement.isA(sType)) {
  					if (bVisibleOnly && oElement.getDomRef() || !bVisibleOnly) {
  						aResult.push(oElement);
  					}
  				}
  			}
  			return aResult;
  		}
docs: Return all existing control instances of the given type.
  @param {object} oScope The scope as given in the rule check function.
  @param {boolean} bVisibleOnly Whether all existing controls or only the ones which currently have a DOM reference should be returned.
  @param {string} sType The type
  @returns {sap.ui.core.Element[]} All existing control instances