def METHOD_NAME(self, option, hostvars=None):
    try:
        option_value, origin = C.config.get_config_value_and_origin(option, plugin_type=self.plugin_type, plugin_name=self._load_name, variables=hostvars)
    except AnsibleError as e:
        raise KeyError(to_native(e))
    return option_value, origin