How to use the interface to detect whether the Post-purchase page is use

I want to use the interface to get whether my customer store has selected my app and enabled the checkout post-purchase page.

Use app api can check is active. https://shopify.dev/docs/api/admin-graphql/latest/queries/app