yii\di\ServiceLocator::__isset PHP Метод

__isset() публичный Метод

This method overrides the parent implementation by checking if the named component is loaded.
public __isset ( string $name ) : boolean
$name string the property name or the event name
Результат boolean whether the property value is null
    public function __isset($name)
    {
        if ($this->has($name, true)) {
            return true;
        } else {
            return parent::__isset($name);
        }
    }