Should we use `isinstance(active_slides, Assignment)` instead of `type(...) is ...`?