public boolean isRenderEndNominating() {
   eventId = getEventId();
   String login =
       FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal().getName();
   if ((nominatingSessionBean.isStartedNominating(eventId) == true)
       && (votingSessionBean.isStartedVoting(eventId) == false)
       && (isAnyoneNominated() == true)
       && !nominatingSessionBean.isComToEndNominating(eventId, login)) {
     return true;
   } else {
     return false;
   }
 }