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