code: def test_is_first_last_deprecated() -> None:
      with pytest.deprecated_call():
          pl.col("a").is_first()
      with pytest.deprecated_call():
          pl.col("a").is_last()
  
file_path: polars/py-polars/tests/unit/operations/test_is_first_last_distinct.py
imports: import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 8 for calling a global function with example usage: test_is_first_last_deprecated() without return types