public function __isset($name)
    {
        if (is_object($this->value)) {
            return isset($this->value->{$name});
        }

        if (is_array($this->value) || $this->value instanceof ArrayObject) {
            return isset($this->value[$name]);
        }

        return false;
    }
public function __isset($name)
    {
        if (is_object($this->value)) {
            return isset($this->value->{$name});
        }

        if (is_array($this->value) || $this->value instanceof ArrayObject) {
            return isset($this->value[$name]);
        }

        return false;
    }
public function __isset ( $ name ) { if ( is_object ( $ this -> value ) ) { return isset ( $ this -> value -> { $ name } ) ; } if ( is_array ( $ this -> value ) || $ this -> value instanceof ArrayObject ) { return isset ( $ this -> value [ $ name ] ) ; } return false ; }
Dynamically check a property exists on the underlying object.

@param  mixed  $name
@return bool
Dynamically check a property exists on the underlying object .