Jep. As in this case == 0 makes no sense since people can (and some probably do) also use strings here. So simplifying the check to !.