code: @Override
    public boolean contains(DatasetDescriptor o) {
      if (this == o) {
        return true;
      }
      if (!(o instanceof FSDatasetDescriptor)) {
        return false;
      }
      FSDatasetDescriptor other = (FSDatasetDescriptor) o;
  
      if (this.getPlatform() == null || other.getPlatform() == null || !this.getPlatform().equalsIgnoreCase(other.getPlatform())) {
        return false;
      }
  
      if ((this.isRetentionApplied() != other.isRetentionApplied()) || (this.isCompacted() != other.isCompacted()) ||
          (this.isCompactedAndDeduped() != other.isCompactedAndDeduped())) {
        return false;
      }
  
      return getFormatConfig().contains(other.getFormatConfig()) && getPartitionConfig().contains(other.getPartitionConfig())
          && isPathContaining(other.getPath());
    }
docs: {@inheritDoc}