multiple checks in "Or" condition

I would like a response to be tagged as “success” either if its status is 200, or if it is 500 and its “error code” matches a specific one.
something like:

.check( **or** (,jsonPath("$['error']['code']").ofType[String].is("3201")))

Is it possible to do that somehow inside “checks”?
If not inside checks, do you have a suggestion on how can I achieve this?
Thanks in advance for your help,