Checks whether a mapping exists.
mapping.exists(mappingName)
mappingName
string
true if the mapping exists, otherwise false.
true
false
if (mapping.exists("Time to Year and Month")) { // it exists }