Rather than set the g['booting'] on globals provide a function to test for that doing the right checks