def timeoutCallback(self, message):
    if message["content"]["count"] < 5:
      message["content"]["count"] += 1
      self.annotationDispatcher.send(message["content"], self.workerName, self.timeout)
    else:
      #log implementation yet to be done for expired documents
      self.documentsNotAnnotated += 1
      if self.documentsNotAnnotated == self.totalDocumentsDispatched or (self.documentsAnnotated + self.documentsNotAnnotated) not in self.totalDocumentsDispatched:
        self.__terminate()
dataset/ETHPy150Open pandastrike/bayzee/src/annotation_dispatcher.py/AnnotationDispatcher.timeoutCallback/operator `==` -> `not in`