Implements the magic method for isset().
public function __isset($name) {
if ($this
->getPropertyDefinition($name)) {
return $this
->get($name)
->getValue() !== NULL;
}
else {
return isset($this->values[$name]);
}
}