Thanks Eirik, it looks like all i have to do is something like this. I'm assuming that the 'body' field in my example will be null if it has no data, otheriwse I need to find another way of doing it
You might need to use some operator, depending on which datatype the body attribute is built upon. Read up on the is_set operator and other operators here: