code: def is_table_empty(conn, table_name):
      """
      This function checks if the MS SQL table is empty
  
      :param conn: SQL connection object
      :param table_name: table name
      :return: Booelan indicating if the table is present
      """
      return (
          conn.execute(
              text(f"select TOP 1 * from {table_name}")
          ).first()
          is None
      )
  
file_path: airflow/airflow/migrations/versions/0088_2_2_0_improve_mssql_compatibility.py
imports: from __future__ import annotations
  from collections import defaultdict
  import sqlalchemy
  from alembic import op
  from sqlalchemy import text
  from sqlalchemy.dialects import mssql
  from airflow.migrations.db_types import TIMESTAMP
label_desc: Use image node_id 1 for calling a global function with example usage: is_table_empty(conn, table_name) and returns: unknown