Actually, since there is no risk of ct being undefined in this context

```
ct == undefined
```

is sufficient.