def METHOD_NAME(self):
    goal_id = self.cleaned_data["goal_id"]
    if not Goal.objects.filter(id=goal_id).exists():
        raise ValidationError(f"The goal with id {goal_id} does not exist.")
    return goal_id