public function active() { if (Registry::prop('page', 'slug') == $this->slug || Registry::prop('page', 'parent') == $this->id) { return true; } }