change is_null to $value compare to null
for consistency with #3520
Merge branch 'hotfix/#6643-is-null-removal'

Close #6643
PHPCS fixes for Zend\Captcha