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