has_xml_closing_tag function

Is an XML closing tag with the value of sectionpresent among the lines of the text?