How to check for specific items in my inventory ?

So i found out that you can check if an array contains an item. So i ended up trying this inside a cubeactor for testing purpose:

The problem i am having is, that i do not find a way to reference each key from the level to make that InventoryStruct to check for.