Struct comparison using only some members

Hello,
I have created in blueprint a struct of an item of the type
{
ID = {UNIQUE NUMBER}
otherValue = {some number used for a totally different purpose}
}

I would like to find if it’s possible to use the existing comparison nodes (to be specific I plan on using the array comparison nodes like “contains item” and “find item”) but using only the ID value for the comparison ignoring the otherValue

For example if I have a struct with {id = 1, otherValue=5} and an array containing {id = 1, otherValue=10} i would like “contains item” to return true. Is there a way? Or do I have to script the find function myself?