public boolean containsValue(Object value) {
        return map.containsValue(value);
    }
Checks whether this set contains the specified key.

@param key the key to search for
@return true if this set contains this key
document/src/main/java/com/yahoo/document/datatypes/WeightedSet.java