docs: def _has_keep_elt_in_descendants(self, elt):
          """
          Returns whether the element has a descendant to keep or not
  
          :param elt: The HtmlElement to check
          :type elt: lxml.html.HtmlElement
          :returns: True if the element has a keep element in its descendants
          :rtype: bool
          """
          # iterdescendants is a generator, don't cast it as a list to avoid
          # parsing the whole descendants tree if not necessary
          for d in elt.iterdescendants():
              if d in self.elts_to_keep:
                  return True
  
          return False