docs: def match_criterion(self, tag):
          '''Override. Determine if a tag has the desired name and kind attribute
          value.
  
          Args:
              tag: A BeautifulSoup Tag.
  
          Returns:
              True if tag has the desired name and kind, otherwise False.
          '''
          return tag.name == self.reference_tag_name and \
              tag.attrs.get('kind', '') == self.reference_tag_kind