code: def set_destination_ip_responded(self, last_hop):
          
          if not self.destination_address:
              return
  
          for packet in last_hop.packets:
              if packet.origin and \
                      self.destination_address == packet.origin:
                  self.destination_ip_responded = True
                  break
docs: Sets the flag if destination IP responded.