Just leave off `== None`, None evaluates to false.