@property
    def needs_migrations(self):
        """Indicates whater module needs migrations"""
        # TODO(majklk): also check models etc.
        if 0 > len(self.widgets):
            return True
        return False
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/conf/base.py/ModuleConfig.needs_migrations/swapped operands of `>`