def _check_timers(self):
if self._timer_queue:<EOL><INDENT>timer = self._timer_queue[<NUM_LIT:0>]<EOL>if timer['<STR_LIT>'] < _current_time_millis():<EOL><INDENT>self._timer_queue.pop(<NUM_LIT:0>)<EOL>self._logger.debug('<STR_LIT>'.format(timer['<STR_LIT:id>'], timer['<STR_LIT>'].id))<EOL>self._add_event(timer['<STR_LIT:id>'], [], {}, timer['<STR_LIT>'], front=True)<EOL><DEDENT>else:<EOL><INDENT>self._next_timeout = (<EOL>timer['<STR_LIT>'] - _current_time_millis()) / <NUM_LIT:1000><EOL>if self._next_timeout < <NUM_LIT:0>:<EOL><INDENT>self._next_timeout = <NUM_LIT:0><EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>self._next_timeout = None<EOL><DEDENT>
Check for expired timers.

If there are any timers that expired, place them in the event
queue.