'Checks if the timer is at the right time for the action. Reduces
the ugly code.'

def timer_between_these_two_times(self, start_time, end_time):

    if (((self.current_time - self.transition_timer) >= start_time) and ((self.current_time - self.transition_timer) < end_time)):
        return True
