function isHeaderClicked(eventTarget) {
			var $target = jQuery(eventTarget);
			var oControl = $target.control(0);
			if (!oControl || oControl.getMetadata().getInterfaces().indexOf("sap.m.IBar") > -1) {
				return true;
			}

			return $target.hasClass('sapMDialogTitle');
		}
function isHeaderClicked(eventTarget) {
			var $target = jQuery(eventTarget);
			var oControl = $target.control(0);
			if (!oControl || oControl.getMetadata().getInterfaces().indexOf("sap.m.IBar") > -1) {
				return true;
			}

			return $target.hasClass('sapMDialogTitle');
		}
function isHeaderClicked ( eventTarget ) { var $target = jQuery ( eventTarget ) ; var oControl = $target . control ( 0 ) ; if ( ! oControl || oControl . getMetadata ( ) . getInterfaces ( ) . indexOf ( "sap.m.IBar" ) > - 1 ) { return true ; } return $target . hasClass ( 'sapMDialogTitle' ) ; }
/* =========================================================== /*                     Resize & Drag logic /* =========================================================== 

@param {Object} eventTarget
@returns {boolean}
/ * =========================================================== / * Resize & Drag logic / * ===========================================================
Returns true if the header is clicked