explicitly compare against nil
prefer positive comparisons to negative