'Check if this NID_pkcs7_signedAndEnveloped object
:returns: True if the PKCS7 is of type signedAndEnveloped'

def type_is_signedAndEnveloped(self):

    if _lib.PKCS7_type_is_signedAndEnveloped(self._pkcs7):
        return True
    return False
