The has() method of the CustomStateSet interface returns a Boolean asserting whether an element is present with the given value.
has(value)valueThe value to test for in the CustomStateSet object.
A Boolean, true if value exists in the CustomStateSet.