change is_null to $value compare to null

for consistency with #3520