I'd change this check to `null !== $bootstrap` as `$bootstrap` will always be either a string or null.