def METHOD_NAME(self, model: type[Model]) -> QuerySet:
    """Return a queryset for `model`. Can be used to filter some
    objects on some models"""
    if model == get_user_model():
        return model.objects.exclude(pk=get_anonymous_user().pk)
    return model.objects.all()