def METHOD_NAME(
    self, *, proof: dict, document_loader: DocumentLoaderMethod
) -> dict:
    """Get verification method for proof."""
    verification_method = proof.get("verificationMethod")
    if isinstance(verification_method, dict):
        verification_method: str = verification_method.get("id")
    if not verification_method:
        raise LinkedDataProofException('No "verificationMethod" found in proof')
    # TODO: This should optionally use the context of the document?
    framed = jsonld.frame(
        verification_method,
        frame={
            "@context": SECURITY_CONTEXT_URL,
            "@embed": "@always",
            "id": verification_method,
        },
        options={
            "documentLoader": document_loader,
            "expandContext": SECURITY_CONTEXT_URL,
            # if we don't set base explicitly it will remove the base in returned
            # document (e.g. use key:z... instead of did:key:z...)
            # same as compactToRelative in jsonld.js
            "base": None,
        },
    )
    if not framed:
        raise LinkedDataProofException(
            f"Verification method {verification_method} not found"
        )
    if framed.get("revoked"):
        raise LinkedDataProofException("The verification method has been revoked.")
    return framed