How do you execute if data storage

It seems to only check IF data is stored, not if the data stored matches something. I want to achieve the latter, how would I do that?
Continue to help post