Key value pair in desktop application

I am working on a desktop application. I am having excel which contains number of keys and its values(key-value pairs)

I want to find the whether that key-value pairs is present in desktop application.

Do we have any function which helps to compare these and return yes present or not?

Dear @Ragul_sharma ,

How are the key value pair elements visible in your desktop?

Regards,
gRao