def METHOD_NAME(self, obj):
    if obj.related_idea:
        try:
            idea = Idea.objects.get(id=obj.related_idea.id)
            return IdeaMinimalSerializer(idea, many=False).data
        except Idea.DoesNotExist:
            return None
    else:
        return None