public function isDisabled() { if (null === $this->parent || !$this->parent->isDisabled()) { return $this->getOption('disabled'); } return true; }