code: def is_disconnect(self, e, connection, cursor):
      if super().is_disconnect(e, connection, cursor):
          return True
      elif isinstance(e, self.dbapi.Error):
          str_e = str(e).lower()
          return (
              "already closed" in str_e
              or "connection was killed" in str_e
          )
      else:
          return False
  
file_path: sqlalchemy/lib/sqlalchemy/dialects/mysql/pymysql.py
imports: from .mysqldb import MySQLDialect_mysqldb
  from ...util import langhelpers
label_desc: Use image node_id 6 for calling the MySQLDialect_pymysql obj's underlying member method code with example usage: obj.is_disconnect(e, connection, cursor) and returns: True, unknown, False