from typing import Iterable


def iscollection(value):
    """Return whether `value` is iterable but not string or bytes."""
    return isinstance(value, Iterable) and not isinstance(value, (str, bytes))