code: def get_or_create_by_natural_key(self, *args):
          
          try:
              return self.get_by_natural_key(*args), False
          except self.model.DoesNotExist:
              return self.create_by_natural_key(*args), True
docs: get_or_create + get_by_natural_key