Final check_metatable