def METHOD_NAME(self, name, as_json=False):
    if name not in self._plugin_config:
        return None
    if as_json:
        return json.loads(self._plugin_config[name])
    else:
        return self._plugin_config[name]