io farei così:

if(empty($dati[0])){
//mia istruzione
}else{
echo "Non è NULL!";
}