private void checkInterrupt() {
			if (interrupt != null) {
				throw Py.makeException(interrupt);
			}
		}
Custom trace function that allows interruption of python code to occur when various code
paths are encountered.
Ghidra/Features/Jython/src/main/java/ghidra/jython/GhidraJythonInterpreter.java