Idiomatic Python prefers `is` and `is not` to check for `None`, because they can't be overridden, unlike `==`/`!=`.