Is there a way to see if data in a data storage is = to a value?

for example something like this:

/data modify storage example ex set value examp99
/execute if data storage example ex = examp99 run [...]
Continue to help post