Optimize checking for interrupts by replacing any? with NOT empty?
Adding tests, spy dependency
Merge pull request #380 from Shopify/optimize_interrupt_handling

Optimize checking for interrupts by replacing any? with NOT empty?