/**
* Checks if a property is set, i.e. defined and not null.
*
* Do not call this method directly as it is a PHP magic method that
* will be implicitly called when executing `isset($component->property)` or `empty($component->property)`.
* @param string $name the property name or the event name
* @return boolean whether the named property is set
* @see http://php.net/manual/en/function.isset.php
*/
public function __isset($name)
{
if (isset($this->_data[$name])) {
return true;
} else {
return parent::__isset($name);
}
}