Returns a boolean indicating whether an element with the specified value exists in a Set object.
has(item)
item
The value to test for presence in the Set object.
true if an element with the specified value exists in the Set object; otherwise false.
let s = new Set([1, 2, 3])
s.has(2)
true