def shouldFlush(self, record):
        """
        Should the handler flush its buffer?

        Returns true if the buffer is up to capacity. This method can be
        overridden to implement custom flushing strategies.
        """
        return (self.capacity >= len(self.buffer))
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/lib/logging/handlers.py/BufferingHandler.shouldFlush/swapped operands of `>=`