def register(self, model):
        '''Register a new Lux Model to the application
        '''
        if not isinstance(model, LuxModel):
            model = model()
        assert isinstance(model, LuxModel), ('An instance of a lux model '
                                             'is required')
        if model.identifier == self:
            return self[model.identifier]

        model = copy(model)
        model.register(self._app)
        if model.identifier:
            self[model.identifier] = model

        return model
dataset/ETHPy150Open quantmind/lux/lux/core/models.py/ModelContainer.register/operator `in` -> `==`