checking if an item has one of multiple potion effects
i wanted to know if it was possible to check if an item had one of a list of potion effects with a single if item check. ive tried to do this
if items entity @s weapon.mainhand potion[potion_contents={potion:fire_resistance,potion:long_fire_resistance}] runbut its checking for an item that has all the effects, not just one of them. i know that its possible to do this with multiple if checks but i wanted to know if theres a way to do this without resorting to 20 checks