def _node_match(node_a_attr, node_b_attr):
    """
    Compares attributes of the nodes for equality.

    :param node_a_attr: Attributes of first node.
    :param node_b_attr: Attributes of second node.
    :return: True is equal - otherwise False
    """
    if node_a_attr == node_b_attr:
        return True
    return False