could you use the `boolValue()` method instead of `'true' === ...`?