This should use `is_array?` for consistency with `set_values`.