code: function hasDOMElementSize(oElement) {
  		var oClientRect;
  
  		if (!oElement) {
  			return false;
  		}
  
  		oClientRect = oElement.getBoundingClientRect();
  
  		return !!(oClientRect.width && oClientRect.height);
  	}
docs: Determines if DOM element has both width and height. @param {DOM Element} oElement @returns {boolean}