in 1.0 you should just be able to do a null check ...
# suitescript
p
in 1.0 you should just be able to do a null check on nlapiSearchRecord result