Replace implicit falseness check with x is False