<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_equal_tag(element, tag_name, params, content):
 """ 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. """

    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