Assert that json contains string

Hello,
I do a

.check(jsonPath("$..Content.Headers.Subject").find(0).is("foo"))

but it turns out that the ‘subject’ is not ‘foo’, it is ‘blabla foo blabla’.

Is there a way to check if the ‘subject’ contains ‘foo’ instead of doing is(“foo”)?

Using Gatling 2.1.7

Appreciate any answer on this!

Best regards,
Ken

this seemed to do the trick

.check(jsonPath("$..Content.Headers.Subject").transform(string => string contains "foo").is(true))