def is_unique(x):
    # A set cannot contain any duplicate, so we just check that the length of the list is the same as the length of the corresponding set

    """Check that the given list x has no duplicate

    Returns:
        boolean: tells if there are only unique values or not

    Args:
        x (list): elements to be compared
    """
    return len(x) == len(set(x))