def is_okay(pkt):
 if (int(pkt[0], 16) == 7):
  if (set(pkt) == set(['07', '00', '00', '01', '00', '00', '00', '02', '00', '00', '00'])):
   return True
 return False

def is_okay ( pkt ) : if ( int ( pkt [ 0 ] , 16 ) == 7 ) : if ( set ( pkt ) == set ( [ '07' , '00' , '00' , '01' , '00' , '00' , '00' , '02' , '00' , '00' , '00' ] ) ) : return True return False
check if the packet is an ack .