def drop(self, ext):
        """Drops the given extension, if it exists.

        :param ext: The extension name.
        :returns: True if the extension existed, False otherwise.

        """
        try:
            del self.extensions[ext.upper()]
            return True
        except __HOLE__:
            return False
dataset/ETHPy150Open slimta/python-slimta/slimta/smtp/extensions.py/Extensions.drop