`hasResult` does not evaulate `status != 'ZERO_RESULTS`.  The computer will evaluate whether or not status equals 'ZERO_RESULTS', and will store either True or False into hasResult.