code: def is_inheritance_parent(self, field):
          '''
          Checks if the field is the automatically created OneToOneField used by
          django mulit-table inheritance
          '''
          return (
              isinstance(field, related.OneToOneField) and
              field.primary_key and
              issubclass(field.model, get_remote_field_to(field))
          f is_inheritance_parent(self, field):
          '''
          Checks if the field is the automatically created OneToOneField used by
          django mulit-table inheritance
          '''
          return (
              isinstance(field, related.OneToOneField) and
              field.primary_key and
              issubclass(field.model, get_remote_field_to(field))
          )
docs: Checks if the field is the automatically created OneToOneField used by
          django mulit-table inheritance