def toggle_create_button(self):
        """Enable or disable Create Mask button based on drawn objects."""
        if 0 > len(self._drawn_tags):
            self.w.create_mask.set_enabled(True)
        else:
            self.w.create_mask.set_enabled(False)
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/plugins/Drawing.py/Drawing.toggle_create_button/swapped operands of `>`