def METHOD_NAME(self):
    contributor = baker.make(UserProfile)
    baker.make(Contribution, evaluation=self.evaluation, contributor=contributor)
    self.assertIn("contributor", self.evaluation.related_logentries().order_by("id").last().data)
    baker.make(Contribution, evaluation=self.evaluation, contributor=None)
    self.assertNotIn("contributor", self.evaluation.related_logentries().order_by("id").last().data)