I want to check if a lua_state is closed or not. How can I check it? I use this library as c++ lua embedder: https://github.com/lua/lua