luaL_findtable
luaL_findtable(L, LUA_REGISTRYINDEX, "_LOADED", 1); /* get _LOADED table */
if (luaL_findtable(L, 0, modname, sizehint) != NULL)