getParentComponent()?->isHidden(); } public function isVisible(): bool { return ! $this->isHidden(); } }