src/sap.ui.core/src/sap/ui/core/util/reflection/BaseTreeModifier.js
function(oElement, sType) {
			var oInstance = ObjectPath.get(sType);
			if (typeof oInstance === "function") {
				return oElement instanceof oInstance;
			} else {
				return false;
			}
		}
function(oElement, sType) {
			var oInstance = ObjectPath.get(sType);
			if (typeof oInstance === "function") {
				return oElement instanceof oInstance;
			} else {
				return false;
			}
		}
function ( oElement , sType ) { var oInstance = ObjectPath . get ( sType ) ; if ( typeof oInstance === "function" ) { return oElement instanceof oInstance ; } else { return false ; } }
Checks if the element is an instance of the type.

@param {object} oElement - Element to be checked
@param {string} sType - Type that the element should be checked against
@returns {boolean} <code>true</code> if the element is an instance of the type
Checks if the element is an instance of the type .