change is_null($var) to (null === $var) for consistency
Merge branch 'cs/#6129-is_null-removal'

Close #6129