def get_collection(self, thread=None):
        """
        Returns a list of collected items for the provided thread, of if none
        is provided, returns a list for the current thread.
        """
        if thread is None:
            thread = threading.currentThread()
        if self.collections not in thread:
            self.collections[thread] = []
        return self.collections[thread]
dataset/ETHPy150Open django-debug-toolbar/django-debug-toolbar/debug_toolbar/utils.py/ThreadCollector.get_collection/swapped operands of `not in`