<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_translations(sender, instance, **kwargs):
 """ Deletes related instance's translations when instance is deleted. """

    if issubclass(sender, (ModelMixin,)):
        instance._linguist.decider.objects.filter(
            identifier=instance.linguist_identifier, object_id=instance.pk
        ).delete()