def addCapsuleChangesToChangeSet(self, changeSet, callback):
        removedTups, addedPkgs = self.getCapsuleChanges()
        removedPkgs = [(x[0].split(':')[0], x[1], x[2]) for x in removedTups]
        removedPkgs = [tup for (tup, exists)
                in zip(removedPkgs, self.db.hasTroves(removedPkgs)) if exists]
        for name, version, flavor in removedTups + removedPkgs:
            changeSet.oldTrove(name, version, flavor)
        for n, pkg in enumerate(addedPkgs):
            self._addPhantomTrove(changeSet, pkg, callback,
                    n + 1, len(addedPkgs))
Returns True if there is a model that can be used
dataset/ETHPy150Open sassoftware/conary/conary/local/capsules.py/BaseCapsulePlugin.addCapsuleChangesToChangeSet--crossover with--dataset/ETHPy150Open NVIDIA/DIGITS/digits/model/tasks/caffe_train.py/CaffeTrainTask.has_model