code: def _visible(self, element):
          
          if element.name in self._disallowed_names:
              return False
          elif re.match(u'<!--.*-->', six.text_type(element.extract())):
              return False
          return True
docs: Used to filter text elements that have invisible text on the page.