Simplify is_iterable