code: def CheckBreakpointsExpiration(self):
      
      with self._lock:
        current_time = BreakpointsManager.GetCurrentTime()
        if self._next_expiration > current_time:
          return
  
        expired_breakpoints = []
        self._next_expiration = datetime.max
        for breakpoint in six.itervalues(self._active):
          expiration_time = breakpoint.GetExpirationTime()
          if expiration_time <= current_time:
            expired_breakpoints.append(breakpoint)
          else:
            self._next_expiration = min(self._next_expiration, expiration_time)
  
      for breakpoint in expired_breakpoints:
        breakpoint.ExpireBreakpoint()
docs: Completes all breakpoints that have been active for too long.