Como verificar se o valor Exiets no mapa em Go

if val, ok := dict["foo"]; ok {
    //do something here
}
Pleasant Panther