Check if $GLOBALS['TL_WRAPPERS'] exists (since Contao 3.1)