Next is actually the function used to remove the next content when pairs traverse the table.
It is best to encapsulate it in the module of the project, lest there is a next function locally in the module
So the function to determine whether the lua table is empty after encapsulation is as follows:
function table_is_empty(t)
return _G.next( t ) == nil
end