def is_completed(self):
        return self.status == consts.TASK_STATUSES.error or \
            self.status != consts.TASK_STATUSES.ready
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/db/sqlalchemy/models/task.py/Task.is_completed/operator `==` -> `!=`