def is_list(val): """Determine if val seems to be a list.""" return type(val) == type([])