lib/event-list.js
function(){
       var i; 
       for (i = 0; i < this._events.length; i++) {
           var evt = this._events[i];
           if (evt.eventType === "WorkflowExecutionCancelRequested") {
               return true;
           }
       }
       return false;

   }
function(){
       var i; 
       for (i = 0; i < this._events.length; i++) {
           var evt = this._events[i];
           if (evt.eventType === "WorkflowExecutionCancelRequested") {
               return true;
           }
       }
       return false;

   }
function ( ) { var i ; for ( i = 0 ; i < this . _events . length ; i ++ ) { var evt = this . _events [ i ] ; if ( evt . eventType === "WorkflowExecutionCancelRequested" ) { return true ; } } return false ; }
Return true if cancel request has arrived
@returns {boolean}
Return true if cancel request has arrived