Method HasMembershipRecordAsync(long, long, CancellationToken)

Assembly: redb.Identity.Core.dll

Whether the user has a membership record in exactly this group, expired or not. This is the
record and act on, and not
the question answers: that one leaves an expired membership out and
counts a membership inherited from an ancestor group in.

Task<bool> HasMembershipRecordAsync(long groupId, long userId, CancellationToken ct = default)