code: def expectAck(self):
          
          last = self.lastTransmitted
          self.ackPredicate = lambda ackPacket: (
              ackPacket.relativeAck() >= last.relativeSeq()
          )
docs: When the most recent packet produced as an output of this state machine
          is acknowledged by our peer, generate a single 'ack' input.