use ```is not``` instead of ```!=``` when making comparisons to ```None```