generally, the preferred style is to iterate over directly rather than useing .items(), e.g. for key in self.config[...]