code: def test_get_allows_alias_in_select(mocker: MockerFixture) -> None:
      from superset.db_engine_specs.dremio import DremioEngineSpec
  
      database = mocker.MagicMock()
  
      database.get_extra.return_value = {}
      assert (
          DremioEngineSpec.get_allows_alias_in_select(database) is True
      )
  
      database.get_extra.return_value = {"version": "24.1.0"}
      assert (
          DremioEngineSpec.get_allows_alias_in_select(database) is True
      )
  
      database.get_extra.return_value = {"version": "24.0.0"}
      assert (
          DremioEngineSpec.get_allows_alias_in_select(database) is False
      )
  
file_path: superset/tests/unit_tests/db_engine_specs/test_dremio.py
imports: from datetime import datetime
  from typing import Optional
  import pytest
  from pytest_mock import MockerFixture
  from tests.unit_tests.db_engine_specs.utils import assert_convert_dttm
  from tests.unit_tests.fixtures.common import dttm
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_allows_alias_in_select(mocker) without return types