If `Environment::is()` is used to assign a custom closure for environment detection, a copy is kept in `$_detector`. Otherwise, `$_detector` is `null`, and the hard-coded detector is used.