private boolean hasContestForPeriod(
     final OutboundMobilityCandidacyPeriod period,
     final OutboundMobilityCandidacyContestGroup group) {
   for (final OutboundMobilityCandidacyContest contest :
       group.getOutboundMobilityCandidacyContestSet()) {
     if (contest.getOutboundMobilityCandidacyPeriod() == period) {
       return true;
     }
   }
   return false;
 }