areSnapDataEqual_(data1, data2) {
    return data1.segment === data2.segment && data1.feature === data2.feature;
  }
Checks if two snap data sets are equal.
Compares the segment and the feature.

@param {SnappedInfo} data1 The first snap data set.
@param {SnappedInfo} data2 The second snap data set.
@return {boolean} `true` if the data sets are equal, otherwise `false`.
@private