Replaced boolean test with 'is None'
2 files changed