Generally, I prefer `if x is not None` over `if x`, just so that it's clear that `x` generally stores an object, but may occasionally store `None`. I reserve `if x` for when `x` is guaranteed to have a boolean value.