A test that returns true or false depending on if the element is a part of the set.