How to find nested Json Key/Value exists or not


I have Json Object which has nested Keys. Some element may have “Rows”, some element does not have “rows”

How to find if element does not have “rows”?

Fyi - I have looped three times to get value of rows elements. It is failing when rows is not present.
Please help

I have tried all combinations like isnothing, containskey etc.

Can you share us the json file you are using


I am not able to share JSON hence pasted contains in original post