Checks for blockly to be initialized before setting the toolbox