cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java
public boolean containsDomain(List<Dimension> wantDimensions) {
    for (Dimension d : wantDimensions) {
      if (!domain.contains(d))
        return false;
    }
    return true;
   }
public boolean containsDomain(List<Dimension> wantDimensions) {
    for (Dimension d : wantDimensions) {
      if (!domain.contains(d))
        return false;
    }
    return true;
   }
Do we have all the dimensions in the list?
@param wantDimensions List of Dimensions
@return true if all in our list.