[BUGFIX] Better check to see if extension is loaded