Ios: find if app is installed or not

In appium ios, how can I find out that app is installed or not ? Also, is there any way to know if app is being installed or not ?

I used spotlight search for this,