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