async def METHOD_NAME(
    aries_controller: AcaPyClient, presentation: AcceptProofRequest, verifier: Verifier
) -> None:
    """Check transaction requirements against trust registry for prover"""
    # get connection record
    bound_logger = logger.bind(body=presentation)
    bound_logger.debug("Asserting valid prover")
    proof_id = presentation.proof_id
    bound_logger.debug("Getting connection from proof")
    connection_id = await get_connection_from_proof(
        aries_controller=aries_controller, proof_id=proof_id, verifier=verifier
    )
    if not connection_id:
        raise CloudApiException(
            "No connection id associated with proof request. Can not verify proof request.",
            400,
        )
    bound_logger.debug("Getting connection record")
    connection_record = await get_connection_record(
        aries_controller=aries_controller,
        connection_id=connection_id,
    )
    if not connection_record.connection_id:
        raise CloudApiException("Cannot proceed. No connection id.", 404)
    # Case 1: connection made with public DID
    if connection_record.their_public_did:
        public_did = f"did:sov:{connection_record.their_public_did}"
    # Case 2: connection made with public DID
    elif connection_record.invitation_key:
        invitation_key = connection_record.invitation_key
        public_did = ed25519_verkey_to_did_key(key=invitation_key)
    else:
        raise CloudApiException("Could not determine did of the verifier.", 400)
    # Try get actor from TR
    bound_logger.debug("Getting actor by DID")
    actor = await get_actor(did=public_did)
    # 2. Check actor has role verifier
    if not is_verifier(actor=actor):
        raise CloudApiException("Actor is missing required role 'verifier'.", 403)
    # Get schema ids
    bound_logger.debug("Getting schema ids from presentation")
    schema_ids = await get_schema_ids(
        aries_controller=aries_controller,
        presentation=presentation.indy_presentation_spec,
    )
    # Verify the schemas are actually in the list from TR
    if not await are_valid_schemas(schema_ids=schema_ids):
        raise CloudApiException(
            "Presentation is using schemas not registered in trust registry.", 403
        )
    bound_logger.debug("Prover is valid.")