@Override
		public TraceFunction traceCall(PyFrame frame) {
			checkInterrupt();
			return this;
		}
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