PR #3194 introduces a stub awaiting the merge of nucypher/nucypher-contracts#92 that must be completed once merged.
def is_encryption_authorized(
self, ritual_id: int, evidence: bytes, digest: bytes
) -> bool:
# TODO: actually call contract.
# get ritual -> get access controller -> call isAuthorized(ritualId, evidence, digest)
return True