code: def is_equal_tag(element, tag_name, params, content):
      
      if tag_name and tag_name != element.getTagName():
          return False
  
      if params and not element.containsParamSubset(params):
          return False
  
      if content is not None and content.strip() != element.getContent().strip():
          return False
  
      return True
docs: Check is `element` object match rest of the parameters.
  
      All checks are performed only if proper attribute is set in the HTMLElement.
  
      Args:
          element (obj): HTMLElement instance.
          tag_name (str): Tag name.
          params (dict): Parameters of the tag.
          content (str): Content of the tag.
  
      Returns:
          bool: True if everyhing matchs, False otherwise.