def METHOD_NAME(self, key):
    """
    Get list type configuration data by key and remove duplicate element.
    :param key: Key of the configuration entry
    :return: A set of configuration data if key exists
    """
    if key in self.config_data:
        data = self.config_data[key]
        if isinstance(data, list):
            return set(data)
    return None