def has(capability):
 _check_version((4, 1), 'zmq.has')
 if isinstance(capability, unicode):
  capability = capability.encode('utf8')
 return bool(C.zmq_has(capability))

def has ( capability ) : _check_version ( ( 4 , 1 ) , 'zmq.has' ) if isinstance ( capability , unicode ) : capability = capability . encode ( 'utf8' ) return bool ( C . zmq_has ( capability ) )
test if a certificate is in the lets encrypt live directory .