Was `domain == False` not working here? Generally you don't use `is` on immutable types.