Verifique se o mapa contém o chave Java
if (map.containsKey(key)) {
// Okay, there's a key but the value is null
} else {
// Definitely no such key
}
Nice Newt