code: def is_equal_type(type_a, type_b):
      if type_a is type_b:
          return True
  
      if isinstance(type_a, GraphQLNonNull) and isinstance(
          type_b, GraphQLNonNull
      ):
          return is_equal_type(type_a.of_type, type_b.of_type)
  
      if isinstance(type_a, GraphQLList) and isinstance(
          type_b, GraphQLList
      ):
          return is_equal_type(type_a.of_type, type_b.of_type)
  
      return False
  
imports: from ..type.definition import GraphQLInterfaceType, GraphQLList, GraphQLNonNull, GraphQLObjectType, GraphQLUnionType, is_abstract_type
label_desc: Use image node_id 1 for calling a global function with example usage: is_equal_type(type_a, type_b) and returns: False, True, is_equal_type, is_equal_type