code: def test_query_crs_info(auth, pj_type, deprecated):
      crs_info_list = query_crs_info(
          auth, pj_type, allow_deprecated=deprecated
      )
      assert crs_info_list
      any_deprecated = any(
          crs_info.deprecated for crs_info in crs_info_list
      )
      if deprecated:
          assert any_deprecated
      else:
          assert not any_deprecated
  
imports: import pytest
  from pyproj.aoi import AreaOfInterest, BBox
  from pyproj.database import Unit, get_authorities, get_codes, get_database_metadata, get_units_map, query_crs_info, query_utm_crs_info
  from pyproj.enums import PJType
  from test.conftest import PROJ_GTE_92
label_desc: Use image node_id 13 for calling a global function with example usage: test_query_crs_info(auth, pj_type, deprecated) without return types