def _is_text_present(self, text):
        try:
            body = self.find_by_tag('body').first
            return text in body.text
        except ElementDoesNotExist:
            # This exception will be thrown if the body tag isn't present
            # This has occasionally been observed. Assume that the
            # page isn't fully loaded yet
            return False
dataset/ETHPy150Open cobrateam/splinter/splinter/driver/lxmldriver.py/LxmlDriver._is_text_present/original