internal bool IsSetLifecycleEvents() { return this._lifecycleEvents != null && this._lifecycleEvents.Count > 0; }