code: def check_attr_values_for_edges(edges, attr_name, values):
      return F.allclose(
          F.stack([edge_attrs(e)[attr_name] for e in edges], 0), values
      )
  
file_path: dgl/tests/python/common/test_convert.py
imports: import unittest
  import backend
  import dgl
  from utils import parametrize_idtype
label_desc: Use image node_id 7 for calling a global function with example usage: check_attr_values_for_edges(edges, attr_name, values) and returns: F