How to find particular shortcut is added in our shortcuts app using our iOS app?

I run the shortcuts with the x-callback url given below code:

shortcuts://x-callback-url/run-shortcut?name=Airplane&x-success=shortcutsdemo://


When I open the url in UIApplication.shared.open , it runs the shortcut and after its done, return back to our iOS app.


My question is if my shortcut is not added in shortcuts app, how i manage?


Is there any way to first find our shortcut is added or not in shortcuts app and then we run the shortcut.


Please help...