def findFootnotesPlaceholder(self, root):
        def finder(element):
            for child in element:
                if child.text:
                    if child.text.find(self.getConfig("PLACE_MARKER")) > -1:
                        return child, element, True
                if child.tail:
                    if child.tail.find(self.getConfig("PLACE_MARKER")) > -1:
                        return child, element, False
                finder(child)
            return None
                
        res = finder(root)
        return res
Test that we return immediately when server is already gone
dataset/ETHPy150Open darcyliu/storyboard/markdown/extensions/footnotes.py/FootnoteExtension.findFootnotesPlaceholder--crossover with--dataset/ETHPy150Open openstack-infra/shade/shade/tests/unit/test_delete_server.py/TestDeleteServer.test_delete_server_already_gone