def _check_field(self, field):
        if field not in self._data:
            raise ConanException(undefined_field(self._name, field, self.fields,
                                                 self._parent_value))
dataset/ETHPy150Open conan-io/conan/conans/model/config_dict.py/ConfigDict._check_field/original