Polyglot\Polyglot::__isset PHP Метод

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

Checks if a field isset while taking into account localized attributes
public __isset ( string $key ) : boolean
$key string The key
Результат boolean
    public function __isset($key)
    {
        if ($this->polyglot) {
            if (in_array($key, $this->getPolyglotAttributes())) {
                return true;
            }
        }
        return parent::__isset($key);
    }