check content similarities between Json Path and App State variable

Hello guys, i made a post previously but i don't think i have been clear enough, i'm sorry i'm doing the best i can with the broken english i got...

I am using the OpenFoodFacts API (i don't know if i can put link in this forum so i won't just in case), which allows me to check every informations of a food product (its name, nutriscore for europeans, ingredients, country origin etc...).

I made a Json Path as string/list just as such :

$..ingredients[:].text

giving me exactly this result (for a Nutella chocolate cup in french) when checked :

[
  "Sucre",
  "huile de palme",
  "NOISETTES",
  "cacao maigre",
  "LAIT écrémé en poudre",
  "LACTOSERUM en poudre",
  "émulsifiants",
  "vanilline",
  "lécithines de SOJA"
]

Now here is the catch, when i scan a product barcode using my app, I want the result page to display a red image if the food product contains one or more forbidden ingredient (like sugar, palm oil, soja and such and such) that i previously (maybe it's a wrong way to do this) listed in a App State Variable, supposely also in String/List mode selected.

I thought that i just had to setup a visibility condition on the red image, making it as if the App State Variable equals the Json Path, it would automatically check each ingredients listed in the Json Path and in the Variable, and if one of those forbidden ingredients is found in both lists it triggers the condition.

Am i wrong ? And if that's so, how can i achieve that exactly ? (considering that I am not a coder so a custom function would be pretty hard to setup for me unfortunately...)

1