yii\di\ServiceLocator::__isset PHP Method

__isset() public method

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
return boolean whether the property value is null
    public function __isset($name)
    {
        if ($this->has($name, true)) {
            return true;
        } else {
            return parent::__isset($name);
        }
    }