code: def detach_remote(self, id, name):
          
  
          if name in self.widgets:
              if id in self.widgets[name]:
                  del self.widgets[name]
docs: destroy remote instance of widget
  
          Arguments:
              - id (str): widget id
              - name (str): widget type name