def is_ssl(pkt):
 if (set(pkt) == set(['00', '00', '00', '08', '04', 'd2', '16', '2f'])):
  return True
 return False

def is_ssl ( pkt ) : if ( set ( pkt ) == set ( [ '00' , '00' , '00' , '08' , '04' , 'd2' , '16' , '2f' ] ) ) : return True return False
check if the packet is an ssl request .