pub fn is_irq_assigned(irq_num: u8) -> bool