None is False, so can we simplify this to `lambda m: not enabled_switch.get_attribute('checked')`?