Should use `is` and `is not` for comparisons with `None` (and a number of instances of these below).