code: def is_sequence(seq: Any) -> bool:
      if isinstance(seq, str):
          return False
  
      return isinstance(seq, Iterable)
  
imports: from collections.abc import Iterable, Sequence
  from typing import Any, Union
  import pandas
  from superset.utils.pandas_postprocessing.utils import _is_multi_index_on_columns, escape_separator, FLAT_COLUMN_SEPARATOR
label_desc: Use image node_id 1 for calling a global function with example usage: is_sequence(seq) and returns: isinstance, False