code: def match_tag(self, el, tag):
          
  
          match = True
          if tag is not None:
              # Verify namespace
              if not self.match_namespace(el, tag):
                  match = False
              if not self.match_tagname(el, tag):
                  match = False
          return match
docs: Match the tag.