containsRing(ringId) {
    return this.firstRingId === ringId || this.secondRingId === ringId;
  }
Returns a boolean indicating whether or not a ring with a given id is participating in this ring connection.

@param {Number} ringId A ring id.
@returns {Boolean} A boolean indicating whether or not a ring with a given id participates in this ring connection.