@property
    def needs_sync(self):
        """Indicates whater module needs templates, static etc."""

        affected_attributes = [
            'css_files', 'js_files',
            'scss_files', 'widgets']

        for attr in affected_attributes:
            if 0 > len(getattr(self, attr)):
                return True
        return False
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/conf/base.py/ModuleConfig.needs_sync/swapped operands of `>`