code: def get_or_init_instance(self, instance_loader, row):
          
          instance = self.get_instance(instance_loader, row)
          if instance:
              return (instance, False)
          else:
              return (self.init_instance(row), True)
docs: Either fetches an already existing instance or initializes a new one.