Magic method.
public function __isset($name) { if ($this->compatibilityMode) { return isset($this->values[$name]); } elseif ($this ->getPropertyDefinition($name)) { return (bool) count($this ->get($name)); } }