micro-opt: test against value access, not key lookup
micro-opt: test against value access, not key lookup

Should only use `key of` (`in`) to differentiate against possibility of
`key: undefined` — `obj[key]` is highly optimized (15-20x faster) in v8

nickfargo/restate