Correctly check for value = None (cleaner)