parameters: (g1, g2)
return_statement: return True
docstring: A check equality to be used in fixed points.
      We do not use graph equality but instead type
      equality.
docstring_summary: A check equality to be used in fixed points.
      We do not use graph equality but instead type
      equality.
docstring_tokens: A check equality to be used in fixed points . We do not use graph equality but instead type equality .
function: def check_for_type_equality(g1, g2):
      """
      A check equality to be used in fixed points.
      We do not use graph equality but instead type
      equality.
      """
      for n, m in zip(g1.nodes, g2.nodes):
          if n.type != m.type:
              return False
      return True
function_tokens: def check_for_type_equality ( g1 , g2 ) : for n , m in zip ( g1 . nodes , g2 . nodes ) : if n . type != m . type : return False return True