from typing import Union


def has_unique_elements(_list: Union[list, tuple]):
    """Determines whether or not the items of a list are unique.

    Parameters
    ----------
    _list : Union[list, tuple]
        The list that must be checked.

    Returns
    -------
    is_unique : bool
        Returns `True` if the items of the lists are unique, else `False`.
    """
    is_unique = len(set(_list)) == len(_list)

    return is_unique