Robbo\Presenter\Presenter::__isset PHP Method

__isset() public method

Allow ability to run isset() on a variable
public __isset ( string $name ) : boolean
$name string
return boolean
    public function __isset($name)
    {
        if ($method = $this->getPresenterMethodFromVariable($name)) {
            $result = $this->{$method}();
            return isset($result);
        }
        if (is_array($this->object)) {
            return isset($this->object[$name]);
        }
        return isset($this->object->{$name});
    }