code: public boolean contains(LCMSDataSubset other) {
  
      // compare ms levels
      Set<Integer> msLvlsThis = getMsLvls();
      Set<Integer> msLvlsThat = other.getMsLvls();
      // if ms levels are null, this definitely matches any other subset
      // so we need to check msLevelsThis frist!
      if (msLvlsThis != null && msLvlsThat != null) {
        if (!msLvlsThis.containsAll(msLvlsThat)) {
          return false;
        }
      }
  
      // compare mz ranges
      List<DoubleRange> mzRangesThis = getMzRanges();
      List<DoubleRange> mzRangesThat = other.getMzRanges();
      if (mzRangesThis != null && mzRangesThat != null) {
        if (!mzRangesThis.containsAll(mzRangesThat)) {
          return false;
        }
      }
  
      // compare scan number ranges
      Integer scanNumLoThis = getScanNumLo();
      Integer scanNumLoThat = other.getScanNumLo();
      if (scanNumLoThis != null && scanNumLoThat != null) {
        if (scanNumLoThis > scanNumLoThat) {
          return false;
        }
      }
      Integer scanNumHiThis = getScanNumHi();
      Integer scanNumHiThat = other.getScanNumHi();
      if (scanNumHiThis != null && scanNumHiThat != null) {
        if (scanNumHiThis < scanNumHiThat) {
          return false;
        }
      }
      return true;
    }
docs: Checks if data ranges described by this subset fully contain ranges specified in another set.
  According to this definition, for example {@link #WHOLE_RUN} contains any other subset,
  including itself.