(function(A){A.fn.hasEvent=function(C){var B=this.data("events");return(B&&B[C])}})(jQuery)