More python style

Usually 

is None

Is used against

== None