/** * Should not by called directly * @param string $name * @return bool */ public function __isset($name) { if ($name == 'id' || $name == $this->_reflection->primaryKey || \method_exists($this, Helpers::getter($name)) || isset($this->_reflection->columns[$name]) && !isset($this->_reflection->parents[$name]) || isset($this->_children[$name]) || isset($this->_parents[$name]) || isset($this->_singles[$name]) || $this->_reflection->isExtendingEntity() && isset($this->_parents[self::EXTENDED]->{$name})) { return TRUE; } return FALSE; }