def get_all_contains(self, value, case_sensitive=True):
        """
        A partial match on the name field. Does an `in` comparsion to
        elements by the meta `name` field.
        Returns all elements that match the specified value.
        
        .. seealso:: :meth:`get_contains` for returning only a single item.
        
        :param str value: searchable string for contains match
        :param bool case_sensitive: whether the match should consider case
            (default: True)
        :return: element or empty list
        :rtype: list(SubElement)
        """
        elements = []
        for element in self:
            if not case_sensitive:
                if value.lower() in element.name.lower():
                    elements.append(element)
            elif value in element.name:
                elements.append(element)
        return elements
A partial match on the name field. Does an `in` comparsion to
        elements by the meta `name` field.
        Returns all elements that match the specified value.
        
        .. seealso:: :meth:`get_contains` for returning only a single item.
        
        :param str value: searchable string for contains match
        :param bool case_sensitive: whether the match should consider case
            (default: True)
        :return: element or empty list
        :rtype: list(SubElement)