public function hasProperty($name) { if ($this->isLink) { return isset(static::$lastLink[$name]); } else { return isset($this->node[$name]); } }