public function hasErrors($attribute = null)
 {
     if ($attribute != null) {
         return parent::hasErrors($attribute);
     }
     return parent::hasErrors() || $this->content->hasErrors();
 }