Replace deprecated "==None" with " is None".