public function isValid() { if ($this->numeroDocumento == '' || $this->convenio == '' || $this->carteira == '') { return false; } return true; }