Removes all external references present in the term layer

def remove_external_references_from_srl_layer(self):
        """
        Removes all external references present in the term layer
        """
        if self.srl_layer is not None:
            for pred in self.srl_layer.get_predicates():
                pred.remove_external_references()
                pred.remove_external_references_from_roles()