public function isValid() { if ($this->getContaDv() == '' || !parent::isValid()) { return false; } return true; }