Assertion: set's element | /r/HasProperty | given
Facets:
Source sentences:
text: You can check if a Java Set contains a given element (object) by calling the contains() method.
text: Here is an example of checking if a Java Set contains a given element: