internal bool IsSetActivityTaskFailedEventAttributes() { return this.activityTaskFailedEventAttributes != null; }