Locating element

The following two methods answer the question if the particular key of value is present in the map:

Both methods rely on the equals() method to identify the match.