'Returns a list of collected items for the provided thread, of if none
is provided, returns a list for the current thread.'

def get_collection(self, thread=None):

    if (thread is None):
        thread = threading.currentThread()
    if (thread not in self.collections):
        self.collections[thread] = []
    return self.collections[thread]
