pub async fn may_cancel_checkout( pool: &PgPool, actor: &Actor, rev: &Revision, ) -> AppResult<bool>
For pages: whether cancel_checkout would release the revision’s lock without a reason.
cancel_checkout