public function getHasAttributes() { return $this->_attributes && $this->_attributes->getCount() > 0; }