from typing import Iterable


def all_equals(iterable: Iterable) -> bool:
    """Return `True` if all elements of a given `iterable` are equals,
    otherwise return `False`.
    """
    return len(set(iterable)) <= 1