code: def test_sequence(value: t.Any) -> bool:
      """Return true if the variable is a sequence. Sequences are variables
      that are iterable.
      """
      try:
          len(value)
          value.__getitem__
      except Exception:
          return False
  
      return True
  
imports: import operator
  import typing
  from collections import abc
  from numbers import Number
  from .runtime import Undefined
  from .utils import pass_environment
label_desc: Use image node_id 19 for calling a global function with example usage: test_sequence(value) and returns: True, False