Some function/command either produces some actual results, or alternatively the response "N/A" for not applicable or something. This function is checking for this anomalous result. A real unix programmer would ensure the command returned no output and an exit code that reflected that so that it could be tested for in a script. Database programmers or windows programmers would probably output "sorry fred, but couldn't find anything" instead, so you'd have to write a special case for each program...