code: def _is_sort_order_unique_together_with_something(self):
          
          unique_together = self._meta.unique_together
          for fields in unique_together:
              if 'sort_order' in fields and len(fields) > 1:
                  return True
          return False
docs: Is the sort_order field unique_together with something