Creating an expression to access data in a table

Can anyone help point me in the right direction?

I am using a plugin and am given this field, to specify which checkboxes should load checked:

The example given by the plugin creator is …

which checks the 1st, 4th, 6th, and last of the checkboxes in this table/grid.

I would like to check the checkboxes whose row’s item #4 (customer ID) is on/in the Group customerAssignments’s User’s accessibleCustomerID list.
And I am not sure how to build that expression.

You could put a condition in the only when conditional - when Group customerAssignments’s User’s accessible CustomerIDs contains Search for Table datas:each item’s unique id:item#4.

When this condition is true use one set of list IDs and when this condition is false use another set of list IDs excluding item # 4.

Hope this helps.