code: def _import_lua(load_dependencies=True):
          
          try:
              import lua
          except ImportError:
              raise RuntimeError("Lua not installed")
  
          lua_globals = lua.globals()
          if load_dependencies:
              Script._import_lua_dependencies(lua, lua_globals)
          return lua, lua_globals
docs: Import lua and dependencies.
  
          :param load_dependencies: should Lua library dependencies be loaded?
          :raises: RuntimeError if Lua is not available