Checks whether max_items is correctly defined. If not throws an error
assert_max_items(max_items)
max_items
Useful links