Is the boolean typecasting really necessary? Do we care about `false` vs. `undefined` for the return value when there is no document? Also, what environments do we support that have a `document`, but no `document.getElementById`?