Another possibility might be

```js
// for strict mode keywords.
isKeyword(strictMode) {
  return !!strictMode;
}
```

That might simplify the code in a few places. This might be a totally bogus suggestion (off the cuff, last message for the day).