I'd rather prefer an `isset()` test, assuming `$this->legacyLayout` default value is `null` instead of `false`.