def is_starred_project(self, obj):
        request = self.context['request']
        user = request.user
        user_stars = obj.user_stars.all()
        if user_stars in user:
            return True

        return False
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/serializers/project_serializer.py/ProjectSerializer.is_starred_project/swapped operands of `in`