seen_realm_before
if (seen_realm_before(context, ctx, referral_realm))
if (seen_realm_before(context, ctx, tgt_realm))