def is_list_of(value, elem_type):
    """ Is the given value a list where each element is the elem_type
    :param value: The value being checked
    :type value: Any
    :param elem_type: The element type
    :type elem_type: type
    :return: True is the value is a list and each element in the list is of the given type, False otherwise
    :rtype: bool
    """
    return isinstance(value, list) and all(isinstance(elem, elem_type) for elem in value)