I think better:
if(map.empty) {
fulfill
}

return map;