def list_type_check(lst, data_type):
    """
    Checks if each element of lst has a given type.
    :param lst: List = list of objects
    :param data_type: type = estimated type for the objects
    :return: bool = true if all objects in list have the type data_type
    """
    return all([type(e) == data_type for e in lst])