static areDrmCompatible(drms1, drms2) {
    if (drms1 === drms2 || !drms1.length || !drms2.length) {
      return true;
    }

    for (const drm1 of drms1) {
      if (shaka.drm.DrmUtils.isClearKeyWihRawKey_(drm1)) {
        return true;
      }
      for (const drm2 of drms2) {
        if (drm1.keySystem === drm2.keySystem ||
            shaka.drm.DrmUtils.isClearKeyWihRawKey_(drm2)) {
          return true;
        }
      }
    }

    return false;
  }
Checks if two DrmInfos can be decrypted using the same key system.
Clear content is considered compatible with every key system.

@param {!Array<!shaka.extern.DrmInfo>} drms1
@param {!Array<!shaka.extern.DrmInfo>} drms2
@return {boolean}