def METHOD_NAME(self):
    config = {key: value for key, value in self.options.items()
              if key in self.cfg.settings and value is not None}
    for key, value in config.items():
        self.cfg.set(key.lower(), value)