Checking if a string value is equal to an element of the rangebounds attribute