#define boot_is_spm_interrupt() \
	(__SPM_REG & (uint8_t)_BV(SPMIE)) 

Check if the SPM interrupt is enabled.