src/javascript/core/EventTarget.js
function(type) {
			var list;
			if (type) {
				type = type.toLowerCase();
				list = eventpool[this.uid] && eventpool[this.uid][type];
			} else {
				list = eventpool[this.uid];
			}
			return list ? list : false;
		}
function(type) {
			var list;
			if (type) {
				type = type.toLowerCase();
				list = eventpool[this.uid] && eventpool[this.uid][type];
			} else {
				list = eventpool[this.uid];
			}
			return list ? list : false;
		}
Check if any handlers were registered to the specified event

@method hasEventListener
@param {String} [type] Type or basically a name of the event to check
@return {Mixed} Returns a handler if it was found and false, if - not