Use ```is not``` instead of ```!=```.