code: def remove_factualitylayer_layer(self):
          
          if self.factuality_layer is not None:
              this_node = self.factuality_layer.get_node()
              self.root.remove(this_node)
              self.factuality_layer = None
  
          if self.header is not None:
              self.header.remove_lp('factualitylayer')
docs: Removes the factualitylayer layer (the old version) (if exists) of the object (in memory)