def _edge_match(edge_a_attr, edge_b_attr):
    """
    Compares attributes of the edges for equality.

    :param edge_a_attr: Attributes of first edge.
    :param edge_b_attr: Attributes of second edge.
    :return: True is equal - otherwise False
    """
    if edge_a_attr == edge_b_attr:
        return True
    return False