How can I check if a dataset field is empty?

if(!fieldKey){
//code
}