def remove(self, chb):
        if chb.collection is not self:
            self.error(
                "Can't remove the checkbox from this collection as it is not "
                "attached to this collection!")
            return
        chb.collection = None
        self._items.remove(chb)
Removes a checkbox from this collection
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/gui/checkbox_collection.py/CheckboxCollection.remove