yii\mongodb\file\Cursor::__isset PHP Метод

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

PHP magic method, which is invoked on attempt of checking if a property is set.
public __isset ( string $name ) : boolean
$name string field name.
Результат boolean whether field exists or not.
    public function __isset($name)
    {
        $cursor = $this->getInnerIterator();
        return isset($cursor->{$name});
    }