Check if the
certificate is a trust anchor for the given
A trust anchor is used to verify the signatures on other certificates when verifying a certificate chain. Also known as a trusted certificate authority.
This call may block, see trust_is_certificate_anchored_async for the non-blocking version.
In the case of an error, false is also returned. Check throws to detect if an error occurred.
a Certificate to check
the purpose string
true if the certificate is a trust anchor