Checking body value in response while using Wait for Response


I’m trying to create code with Wait for Response:

Wait For Response response => response.url().endsWith(‘/api’) && response.status() == 200

but i would like to check if response has value inside body.
Is there any way i can wait for response with for example response.body().somevalue?

response is a JSON object, checking has to be done in => response.something…