def set_headers(self, headers):

        if isinstance(headers, dict):
            headers = headers.items()

        # NOTE(kgriffs): We can't use dict.update because we have to
        # normalize the header names.
        _headers = self._headers
        for name, value in headers:
            name, value = self._encode_header(name, value)
            _headers[name.lower()] = value
A bad value for a boolean field should raise a ValueError
dataset/ETHPy150Open falconry/falcon/falcon/response.py/Response.set_headers--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_typeCheckBooleanBad