add contains method to Map