async fn ref_exists(ctx: &AppCtx, ref_id: Uuid) -> Result<(), AppError>
Verify that the given ref exists.