protected function checkEmail(EvaluateBadgesEvent $event)
 {
     $person = $event->getPerson();
     if ($person->getEmailConfirmedAt() instanceof \DateTime) {
         $event->registerBadge($this->getBadge('valid_email', true));
     }
 }
 protected function checkNfg(EvaluateBadgesEvent $event)
 {
     $person = $event->getPerson();
     $meuRSPerson = $this->meuRSHelper->getPersonMeuRS($person);
     if (method_exists($meuRSPerson, 'getNfgProfile') && $meuRSPerson->getNfgProfile()) {
         $event->registerBadge($this->getBadge('nfg_access_lvl', $meuRSPerson->getNfgProfile()->getAccessLvl()));
         if ($meuRSPerson->getNfgProfile()->getVoterRegistrationSit() > 0) {
             $event->registerBadge($this->getBadge('voter_registration', true));
         }
     }
 }