validate in_list