Loop through a struct of multiple objects of multiple data types

Hi guys, I am currently working on a VR project. I have a struct which contains multiple objects of multiple data types and in one of the functionalities, I am checking if an overlapping object is equal to one of the objects inside that struct. The way I am currently doing it is show in the screenshot I have attached. My ultimate goal is to have a cleaner blueprint grab. Can anyone recommend a better way to do it? Thanks!