How to do interrupt testing while using appium, and how appium script will detect interruptions?

How we can do interruption testing for mobile automation using appium and how we can detect if any interruption occuurs?