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

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