async def METHOD_NAME(
    conn: triopg._triopg.TrioConnectionProxy,
    organization_id: OrganizationID,
    realm_id: RealmID,
    author: DeviceID,
) -> DateTime | None:
    rep = await conn.fetchrow(
        *_q_check_realm_access(
            organization_id=organization_id.str, realm_id=realm_id, user_id=author.user_id.str
        )
    )
    return None if rep is None else rep[1]