def is_disconnect(self, e, connection, cursor):
        if isinstance(e, self.dbapi.ProgrammingError):
            return e.errno is None and 'cursor' not in e.args[1] \
                and e.args[1].endswith('closed')
        else:
            return (2006, 2013, 2014, 2045, 2055) in e.errno
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/dialects/mysql/oursql.py/MySQLDialect_oursql.is_disconnect/swapped operands of `in`