`'headers' in kw` is preferable, unless `kw['headers']` may legitimately be `None` (but… I don't think it should be).