+
+def CheckIfOnlyTouchEvents():
+ #Check and throw an error if it is all touch events
+ #This is called Direct-Direct interaction and we do not model-check for this case
+ onlyTouchEvents = True
+ for item in eventMap:
+ if item != "nfcTouch" and item != "app":
+ onlyTouchEvents = False
+ if onlyTouchEvents is True and app1Subscribe is True and app2Subscribe is True:
+ raise Exception("\n\nDirect-Direct Interaction detected: we are skipping this pair...\n\n")