Removes a factuality element with a specific id from the layer

def remove_factuality(self, fid):
        """
        Removes a factuality element with a specific id from the layer
        """
        for node_pre in self.node.findall('factuality'):
            if node_pre.get('id') == fid:
                self.node.remove(node_pre)