def is_active(self, obj):
        if obj.disabled:
            return False
        now = datetime.now()
        active_from = not obj.active_from or now <= obj.active_from
        active_till = not obj.active_till or obj.active_till > now
        return active_from and active_till
dataset/ETHPy150Open ella/ella/ella/positions/newman_admin.py/PositionAdmin.is_active/swapped operands of `<=`