def METHOD_NAME(self, enable, clear=True):
    print("DeformableVisualizer set_enabled", enable)
    self._enabled = enable
    if enable:
        self.add_subscriber()
    else:
        self.remove_subscriber()
        # Removes the folder completely and resets the known meshes.
        om.removeFromObjectModel(
            om.findObjectByName(self._folder_name)
        )
        self._poly_item_list = []