code: def is_disconnect(self, e, connection, cursor):
      if isinstance(e, self.dbapi.OperationalError):
          return self._extract_error_code(e) in (
              2006,
              2013,
              2014,
              2045,
              2055,
          )
      elif isinstance(e, self.dbapi.InterfaceError):
          # if underlying connection is closed,
          # this is the error you get
          return True
      else:
          return False
  
file_path: sqlalchemy/lib/sqlalchemy/dialects/mysql/cymysql.py
imports: from .base import BIT
  from .base import MySQLDialect
  from .mysqldb import MySQLDialect_mysqldb
  from ...None import util
label_desc: Use image node_id 4 for calling the MySQLDialect_cymysql obj's underlying member method code with example usage: obj.is_disconnect(e, connection, cursor) and returns: unknown, True, False