'this takes the config object, config key (to a list), and entry
item so it can return True if the object matches,
(be that a subset of the list, or if the entry item is contained
within the config object list) or false if it does not.'

def is_in_set(self, config, configkey, entryitem):

    if (configkey in config):
        configlist = config[configkey]
        if isinstance(entryitem, list):
            for item in entryitem:
                if (item in configlist):
                    return True
        elif (entryitem in configlist):
            return True
    return False
