To better match what was previously here, the comparisons should be `if data.get('foobar') is not None or ...`