code: def get_contains(self, value, case_sensitive=True):
          
          for element in self:
              if not case_sensitive:
                  if value.lower() in element.name.lower():
                      return element
              elif value in element.name:
                  return element
docs: A partial match on the name field. Does an `in` comparsion to
          elements by the meta `name` field. Sub elements created by SMC
          will generally have a descriptive name that helps to identify
          their purpose. Returns only the first entry matched even if there
          are multiple.
          
          .. seealso:: :meth:`~get_all_contains` to return all matches
          
          :param str value: searchable string for contains match
          :param bool case_sensitive: whether the match should consider case
              (default: True)
          :rtype: SubElement or None