def _check_duplicate(list_to_check) ->bool:
    """
    Check if a list has duplicate
    :param list_to_check: the list to check
    :return: True if the list has duplicate values
    """
    return len(set(list_to_check)) == len(list_to_check)
