pub fn needs_ack(packet: &Packet) -> bool
Check if a given packet needs to be acknowledged based on the PType
PType