def check_close(self):
        if self.should_close and len(self.buffer) == 0:
            self.close()
Called when the application for this Migrations is set.
dataset/ETHPy150Open jcrocholl/throxy/throxy.py/ThrottleSender.check_close--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/South-1.0.2/south/migration/base.py/Migrations.set_application