Check if relay debugging is still on before printing something.