def _check_arg_equality(node_a, node_b, attr_name):
return getattr(node_a, attr_name) == getattr(node_b, attr_name)<EOL>
Check equality of nodes based on the comparison of their attributes named attr_name.

Args:
    node_a (astroid.node): first node to compare.
    node_b (astroid.node): second node to compare.
    attr_name (str): name of the nodes attribute to use for comparison.

Returns:
    bool: True if node_a.attr_name == node_b.attr_name, False otherwise.