code: def _mssql_drop_ignore(conn, ident):
      try:
          # typically when this happens, we can't KILL the session anyway,
          # so let the cleanup process drop the DBs
          # for row in conn.exec_driver_sql(
          #     "select session_id from sys.dm_exec_sessions "
          #        "where database_id=db_id('%s')" % ident):
          #    log.info("killing SQL server session %s", row['session_id'])
          #    conn.exec_driver_sql("kill %s" % row['session_id'])
          conn.exec_driver_sql("drop database %s" % ident)
          log.info("Reaped db: %s", ident)
          return True
      except exc.DatabaseError as err:
          log.warning("couldn't drop db: %s", err)
          return False
  
imports: from sqlalchemy import inspect
  from sqlalchemy import Integer
  from ...None import create_engine
  from ...None import exc
  from ...schema import Column
  from ...schema import DropConstraint
  from ...schema import ForeignKeyConstraint
  from ...schema import MetaData
  from ...schema import Table
  from ...testing.provision import create_db
  from ...testing.provision import drop_all_schema_objects_pre_tables
  from ...testing.provision import drop_db
  from ...testing.provision import generate_driver_url
  from ...testing.provision import get_temp_table_name
  from ...testing.provision import log
  from ...testing.provision import normalize_sequence
  from ...testing.provision import run_reap_dbs
  from ...testing.provision import temp_table_keyword_args
label_desc: Use image node_id 4 for calling a global function with example usage: _mssql_drop_ignore(conn, ident) and returns: True, False