How can I identify if a callback URL is for first-time app installation or reopening?

shop, hmac, code, state, signature, timestamp. These are params which I get during callback which I don’t find helpful to resolve my problem.

Is there anyway I can use these to identify if app is already installed?