static isBridge(ringConnections, vertices, firstRingId, secondRingId) {
    let ringConnection = null;

    for (let i = 0; i < ringConnections.length; i++) {
      ringConnection = ringConnections[i];

      if (ringConnection.firstRingId === firstRingId && ringConnection.secondRingId === secondRingId || ringConnection.firstRingId === secondRingId && ringConnection.secondRingId === firstRingId) {
        return ringConnection.isBridge(vertices);
      }
    }

    return false;
  }
Checks whether or not two rings are connected by a bridged bond.

@static
@param {RingConnection[]} ringConnections An array of ring connections containing the ring connections associated with the current molecule.
@param {Vertex[]} vertices An array of vertices containing the vertices associated with the current molecule.
@param {Number} firstRingId A ring id.
@param {Number} secondRingId A ring id.
@returns {Boolean} A boolean indicating whether or not two rings ar connected by a bridged bond.