def isActive(self): value1, _ = event_boards_timer.getTimeStatus(self.__startDate) value2, _ = event_boards_timer.getTimeStatus(self.__endDate) return value1 < 0 < value2
def isStartSoon(self): value, period = event_boards_timer.getTimeStatus(self.__startDate) if period == event_boards_timer.FORMAT_DAY_STR: return self.EVENT_DAYS_LEFT_TO_START > value > 0 return value > 0
def isRegistrationFinished(self): value, _ = event_boards_timer.getTimeStatus( self.__participantsFreezeDeadline) return value < 0
def isFinished(self): value, _ = event_boards_timer.getTimeStatus(self.__endDate) return value < 0
def isStarted(self): value, _ = event_boards_timer.getTimeStatus(self.__startDate) return value < 0