

def __contains__(self, ext):
    "Checks if the given extension is in the known extensions. This is\n        especially useful for clients to check if a server offers a certain\n        desired extension, e.g. ``if 'AUTH' in extensions:``.\n\n        :param ext: The extension to check for, case-insensitive.\n        :rtype: True or False\n\n        "
    return (ext.upper() in self.extensions)

dataset/ETHPy150Open slimta/python-slimta/slimta/smtp/extensions.py Extensions.__contains__/original