code: def incorrection(self):
          
          e = self.parent
  
          while e:
              if isinstance(e, Correction):
                  return e
              if isinstance(e, AbstractStructureElement):
                  break
              e = e.parent
          return None
docs: Is this element part of a correction? If it is, it returns the Correction element (evaluating to True), otherwise it returns None