Java tutorial
//package com.java2s; //License from project: Apache License import java.util.Map; public class Main { final static public boolean containsValue(Map<Object, Object> collection, Object item) { return collection != null && collection.containsValue(item); } }