Use 'null' instead of 'not'.

The variable being tested is not a boolean, so 'null' is more idiomatic.