checks that table.new is indeed a function.