def user_in_group?(user, group)
      group = normalize_group(group)
      return user_is_admin?(user) if group == "admins"
      redis.sismember(group, user.id)
    end
def user_in_group?(user, group)
      group = normalize_group(group)
      return user_is_admin?(user) if group == "admins"
      redis.sismember(group, user.id)
    end
Checks if a user is in an authorization group.
 @param user [User] The user.
 @param group [Symbol, String] The name of the group.
 @return [Boolean] Whether or not the user is in the group.