bool contains(Object element)

Returns true if value is in the set.

Source

bool contains(Object element);