Replaced boolean test with is None
3 files changed