function hasDescription() { $description = $this->getLocalizedDescription(); return !empty($description); }