def METHOD_NAME(self, event):
    item_pos = 0
    item_found = False
    elm = None
    for q in self.queue:
        if q[1] == event:
            item_found = True
            break
        item_pos += 1
    if item_found:
        elm = self.queue.pop(item_pos)
    return elm