def discard(self,
            element):
        if element in self.elements:
            del self.elements[element]
As per MutableSet.
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/MultidimensionSupplementalTools/MultidimensionSupplementalTools/Scripts/mds/ordered_set.py/OrderedSet.discard