Simple nested array test for unique json response data

My question:
How would I efficiently ensure that the variable “restrictions” is always false when searching through three arrays. you can see that the content is in an array, which means that a = abc repeated a= abc & a =123.

Essentially, i’m trying to catch the services and make sure all restrictions = a value and be able to say the first one is false and second is true.

Forgive me as i’m out of my comfort zone here. Happy to accept to directions to reading material :slight_smile:

Details (like screenshots):

[
    {
        "a": "abc",
        "b": true,
        "c": 0,
        "d": "",
        "services": [
            {
                "name": "Test",
                "code": "Test",
                "value": Test,
                "service": "Test ",
                "accepted": 1,
                "accepts_volume": true,
                "products_allowed": [
                    {
                        "name": "test",
                        "id": "test",
                        "volume": 0,
                        "restrictions": false
                    }
                ],
                "restricted_products": [],
                "total_volume": 0
            },
             {
                "name": "Test2",
                "code": "Test2",
                "value": Test2,
                "service": "Test2 ",
                "accepted": 1,
                "accepts_volume": true,
                "products_allowed": [
                    {
                        "name": "test2",
                        "id": "test2",
                        "volume": 0,
                        "restrictions": false
                    }
                ],
                "restricted_products": [],
                "total_volume": 0
            }
...