code: def test_iterable_is_sequence():
      ordered = [[], (), Tuple(), Matrix([[]])]
      unordered = [set()]
      not_sympy_iterable = [{}, "", ""]
      assert all(is_sequence(i) for i in ordered)
      assert all(not is_sequence(i) for i in unordered)
      assert all(iterable(i) for i in ordered + unordered)
      assert all(not iterable(i) for i in not_sympy_iterable)
      assert all(iterable(i, exclude=None) for i in not_sympy_iterable)
  
imports: from collections import defaultdict
  from sympy.core.basic import Basic
  from sympy.core.containers import Dict, Tuple
  from sympy.core.numbers import Integer
  from sympy.core.kind import NumberKind
  from sympy.matrices.kind import MatrixKind
  from sympy.core.singleton import S
  from sympy.core.symbol import symbols
  from sympy.core.sympify import sympify
  from sympy.matrices.dense import Matrix
  from sympy.sets.sets import FiniteSet
  from sympy.core.containers import tuple_wrapper, TupleKind
  from sympy.core.expr import unchanged
  from sympy.core.function import Function, Lambda
  from sympy.core.relational import Eq
  from sympy.testing.pytest import raises
  from sympy.utilities.iterables import is_sequence, iterable
  from sympy.abc import x, y
label_desc: Use image node_id 11 for calling a global function with example usage: test_iterable_is_sequence() without return types