// Extend core
Native.implement([Element, Window, Document], {
	hasEvent: function(type){
		var events = this.retrieve('events', {});
		if (events && events[type]){
			return true;
		}else{ return false;}
	}
});
