The IRQ mask can be queried---I forget if this is a special picorv32 instruction or if it is dropped into a specific register before jumping to address zero---I have not tried coding anything around this. What I have done instead is to use the IRQ mask command for picorv32 to isolate the one IRQ I want to respond to.