dist/claygl.es.js
function(name, action) {
        var handlers = this.__handlers__;

        if (! handlers ||
            ! handlers[name]) {
            return false;
        }
        var hdls = handlers[name];
        for (var i = 0; i < hdls.length; i++) {
            if (hdls[i].action === action) {
                return true;
            }
        }
    }
function(name, action) {
        var handlers = this.__handlers__;

        if (! handlers ||
            ! handlers[name]) {
            return false;
        }
        var hdls = handlers[name];
        for (var i = 0; i < hdls.length; i++) {
            if (hdls[i].action === action) {
                return true;
            }
        }
    }
function ( name , action ) { var handlers = this . __handlers__ ; if ( ! handlers || ! handlers [ name ] ) { return false ; } var hdls = handlers [ name ] ; for ( var i = 0 ; i < hdls . length ; i ++ ) { if ( hdls [ i ] . action === action ) { return true ; } } }
If registered the event handler
@param  {string}  name
@param  {Function}  action
@return {boolean}
If registered the event handler