def contain_items(self, key, items):
        _dict_set = self._get_dict_set()
        if key not in _dict_set:
            return []
        return [item for item in items if item in _dict_set[key]]
See if the given key contains a list items
dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedMappedList.contain_items