code: def test_async_support_property(flight_client):
      assert isinstance(flight_client.supports_async, bool)
      if flight_client.supports_async:
          flight_client.as_async()
      else:
          with pytest.raises(NotImplementedError):
              flight_client.as_async()
  
file_path: arrow/python/pyarrow/tests/test_flight_async.py
imports: import asyncio
  import pytest
  import pyarrow
label_desc: Use image node_id 4 for calling a global function with example usage: test_async_support_property(flight_client) without return types