internal bool IsSetScheduleActivityTaskFailedEventAttributes() { return this.scheduleActivityTaskFailedEventAttributes != null; }