public boolean headerContains(String name, String value) {
        List<String> values = LOCAL_REQUEST.get().getHeaderValues(name);
        if (values != null) {
            for (String v : values) {
                if (v.contains(value)) {
                    return true;
                }
            }
        }
        return false;
    }
@Test
    void testHeaderContains() {
        background().scenario(
                "pathMatches('/hello') && headerContains('foo', 'bar')",
                "def response = { success: true }"
        );
        request.path("/hello").header("foo", "baabarbaa").method("GET");
        handle();
        match(response.getBodyConverted(), "{ success: true }");
    }