def equals_tag(obj, tag):
    """
    Return whether an individual DOM node matches a tag
    Parameters
    ----------
    obj : node-like
        A DOM node.
    tag : str
        Tag name to be checked for equality.
    Returns
    -------
    boolean
        Whether `obj`'s tag name is `tag`
    """
    return obj.name == tag