keras/src/utils/tracking.py/TrackedList/insert
class TrackedList:    def insert(self, index, value):
        if self.tracker:
            self.tracker.track(value)
        super().insert(index, value)