code: def to_designspace_instances(self):
      
      for instance in self.font.instances:
          if self.minimize_glyphs_diffs or (
              is_instance_active(instance)
              and _is_instance_included_in_family(self, instance)
          ):
              _to_designspace_instance(self, instance)
docs: Write instance data from self.font to self.designspace.