Checks whether a dimension exists.
dimension.exists(dimensionName)
dimensionName
string
true when the dimension exists, otherwise false.
true
false
if (dimension.exists("Account")) { // do something }