code: private boolean isPathContaining(String otherPath) {
      if (otherPath == null) {
        return false;
      }
      if (DatasetDescriptorConfigKeys.DATASET_DESCRIPTOR_CONFIG_ANY.equals(this.getPath())) {
        return true;
      }
      if (PathUtils.isGlob(new Path(otherPath))) {
        return false;
      }
      GlobPattern globPattern = new GlobPattern(this.getPath());
      return globPattern.matches(otherPath);
    }
docs: A helper to determine if the path description of this {@link DatasetDescriptor} is a superset of paths
  accepted by the other {@link DatasetDescriptor}. If the path description of the other {@link DatasetDescriptor}
  is a glob pattern, we return false.
  
  @param otherPath a glob pattern that describes a set of paths.
  @return true if the glob pattern described by the otherPath matches the path in this {@link DatasetDescriptor}.