Thanks @Moors7. Had no idea how to do your suggestion until I found this bit of code.
The isrFlag makes a ton of sense.