1
2
3
4
5import isystem.connect as ic
6
7
8winidea_id = ''
9
10
11def test_optionExists():
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
14
15 ideCtrl = ic.CIDEController(connMgr)
16
17 url = "/IDE/Debug.MSID.Use"
18 if ideCtrl.optionExists(url):
19 print(f"Option exist: {url}")
20 else:
21 print(f"Option does not exist: {url}")
22
23
24if __name__ == "__main__":
25 test_optionExists()