def story(self, *keys):
    keys = {(key.key if (not isinstance(key, str)) else key) for key in keys}
    out = []
    for (_, L) in self.scheduler.get_events(topic='stealing'):
        if (not isinstance(L, list)):
            L = [L]
        for t in L:
            if any(((x in keys) for x in t)):
                out.append(t)
    return out
def story(self, *keys):
    keys = {(key.key if (not isinstance(key, str)) else key) for key in keys}
    out = []
    for (_, L) in self.scheduler.get_events(topic='stealing'):
        if (not isinstance(L, list)):
            L = [L]
        for t in L:
            if any(((x in keys) for x in t)):
                out.append(t)
    return out