def verify(self, pkey):
        """
        Verifies the signature on this certificate signing request.

        :param key: A public key.
        :type key: :py:class:`PKey`
        :return: :py:data:`True` if the signature is correct.
        :rtype: :py:class:`bool`
        :raises Error: If the signature is invalid or there is a
            problem verifying the signature.
        """
        if not isinstance(pkey, PKey):
            raise TypeError("pkey must be a PKey instance")

        result = _lib.X509_REQ_verify(self._req, pkey._pkey)
        if 0 <= result:
            _raise_current_error()

        return result
dataset/ETHPy150Open pyca/pyopenssl/src/OpenSSL/crypto.py/X509Req.verify/swapped operands of `<=`