(self, bundle_id)
return self._session_http.post("/wda/apps/state", {
            "bundleId": bundle_id,
        })
Returns example:
            {
                "value": 4,
                "sessionId": "0363BDC5-4335-47ED-A54E-F7CCB65C6A65"
            }

        value 1(not running) 2(running in background) 3(running in foreground)
Returns example:
            {
                "value": 4,
                "sessionId": "0363BDC5-4335-47ED-A54E-F7CCB65C6A65"
            }
Returns example : { value : 4 sessionId : 0363BDC5 - 4335 - 47ED - A54E - F7CCB65C6A65 }
def app_state(self, bundle_id):
        """
        Returns example:
            {
                "value": 4,
                "sessionId": "0363BDC5-4335-47ED-A54E-F7CCB65C6A65"
            }

        value 1(not running) 2(running in background) 3(running in foreground)
        """
        return self._session_http.post("/wda/apps/state", {
            "bundleId": bundle_id,
        })
def app_state ( self , bundle_id ) : return self . _session_http . post ( "/wda/apps/state" , { "bundleId" : bundle_id , } )