Add assert_list to ensure an argument is a list