(pkt)
return False
Check if the packet is an SSL request
Check if the packet is an SSL request
Check if the packet is an SSL request
def is_ssl(pkt):
    """Check if the packet is an SSL request"""
    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