function __isset($name)
{
if (isset($this->controls[$name])) {
return true;
}
foreach ($this->controls as $control) {
if ($control instanceof FormContainer) {
// Assignment is needed to avoid an indirect modification notice
if ($ctrl = $control->{$name}) {
return true;
}
}
}
return false;
}