def is_hybi00(headers):
 return (('Sec-WebSocket-Key1' in headers) and ('Sec-WebSocket-Key2' in headers))

def is_hybi00 ( headers ) : return ( ( 'Sec-WebSocket-Key1' in headers ) and ( 'Sec-WebSocket-Key2' in headers ) )
determine whether a given set of headers is hybi-00-compliant .