<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_urgent(self):
 """ Determine whether or not to set the urgent flag. If urgent_blink is set, toggles urgent flag on and off every second. """

        if not self.current_event:
            return False
        now = datetime.now(tz=self.current_event.start.tzinfo)
        alert_time = now + timedelta(seconds=self.urgent_seconds)
        urgent = alert_time > self.current_event.start
        if urgent and self.urgent_blink:
            urgent = now.second % 2 == 0 and not self.urgent_acknowledged
        return urgent