In this case we want to test only the Assignment class, so `isinstance(active_slide, Assignment)` is not about parent classes (e. g. `SlidesMixin`, `models.Model`, etc.) but about child classes (subclasses). The statement would be True if there were a subclass of `Assignment` given. In OpenSlides there aren't such subclasses. That's why I think we should use `isinstance`.