def do(self, workflow_dict):
        try:
            if 'database' not in workflow_dict:
                return False

            if workflow_dict not in 'databaseinfra':
                workflow_dict['databaseinfra'] = workflow_dict[
                    'database'].databaseinfra

            LOG.info("Getting driver class")
            driver = workflow_dict['databaseinfra'].get_driver()
            from time import sleep

            sleep(60)

            if driver.check_status():
                LOG.info("Database is ok...")
                workflow_dict['database'].status = 1
                workflow_dict['database'].save()

            return True
        except Exception as e:
            LOG.info("Error: {}".format(e))
            pass
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/workflow/steps/util/resize/check_database_status.py/CheckDatabaseStatus.do/swapped operands of `not in`