Possibilities of using an expression for an array in outcome.enable

I have a members array that is display in a form, using a subform to separate the memebers

each member has a statuscode that can be updated by calling a servicing button.

i want to configure the outcome to only be enable if all the members.statusCode is equal to MATCH or FALSE_POSITIVE. I cannot find a clean way to do it.

my other options is to add elements to the page that can be use to force validations checks to prevent the user from continuing with the application

I was able to set a button outcome and having the enable with what i will call complex logic

{{$formValid && $payload.members && $payload.members.length > 0 && (flw.findAll($payload.members, ‘statusCode’, ‘TRUE_MATCH’).length +flw.findAll($payload.members, ‘statusCode’, ‘FALSE_POSITIVE’).length) === $payload.members.length}}

also there was an issue when i had multiple spaces and new line.