public boolean hasDimension(String key){
  return dimensions.indexOf(new BaseDimensionalObject(key)) != -1;
}

public boolean hasDimension ( String key ) { return dimensions . indexOf ( new BaseDimensionalObject ( key ) ) != - 1 ; }
indicates whether a dimension or filter with the given identifier exists .
