def validate_list_values(values):
    """
    Function to add validate list objects
    Args:
        values (list): list of values to be validated
    Raises:
        (ValueError): Raise ValueError if list is invalid
    Return:
        values (list): valid list object
    """
    if not isinstance(values, list):
        raise ValueError("Provide a list of values")
    for i in values:
        if not isinstance(i, str):
            raise ValueError("Only strings allowed")

    return values