hasDataChannel (type, filter) {
    return !!this.getDataChannelId(type, filter)
  }
Check if the instance is subscribed to a data channel matching the
specified type and filter.

@param {string} type - channel type
@param {object} filter - to be matched against channel data
@returns {boolean} hasChannel