I guess another possible optimization is `!args[2]->IsUndefined() && args[2]->BooleanValue()`. IsUndefined() is fast (no TLS lookups) and it'll short-circuit the call to BooleanValue. But that's too much institutional knowledge, really.