from typing import Sequence


def is_sequence(obj):
    """Is the object a *non-str* sequence?

    Checking whether an object is a *non-string* sequence is a bit
    unwieldy. This makes it simple.

    """
    return isinstance(obj, Sequence) and not isinstance(obj, str)