if(elevationDimension != null && elevationDimension.isEnabled()) {
return true;
}
// look for custom dimensions
for (String key : metadata.keySet()) {
if(key != null && key.startsWith(ResourceInfo.CUSTOM_DIMENSION_PREFIX)) {
DimensionInfo di = metadata.get(key, DimensionInfo.class);
if(di != null && di.isEnabled()) {
return true;
}