# tf.contrib.framework.nest.is_sequence

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/pywrap_tensorflow_internal.py#L2502-L2514) |

Returns true if its input is a collections.Sequence (except strings).

    tf.contrib.framework.nest.is_sequence(
        o
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `seq` | an input sequence. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| True if the sequence is a not a string and is a collections.Sequence or a dict. ||

<br />