docs: def remove_mixins(target):
          """Tries to get back target in a no mixin consistent state.
          """
  
          mixedins_by_name = Mixin.get_mixedins_by_name(target).copy()
  
          for _name in mixedins_by_name:  # for all named mixins
              while True:  # remove all mixins named _name
                  try:
                      Mixin.remove_mixin(target, _name)
                  except Mixin.MixInError:
                      break