/**
  * Checks if the logged-in user fulfills all requirements for registration for the event $event.
  *
  * A front-end user needs to be logged in when this function is called.
  *
  * @param tx_seminars_seminar $event the event to check
  *
  * @return bool TRUE if the user fulfills all requirements, FALSE otherwise
  */
 public function userFulfillsRequirements(tx_seminars_seminar $event)
 {
     if (!$event->hasRequirements()) {
         return TRUE;
     }
     $missingTopics = $this->getMissingRequiredTopics($event);
     $result = $missingTopics->isEmpty();
     return $result;
 }