code: def test_area_relation(api):
      params = dict(
          area="POLYGON((10.83 53.04,11.64 53.04,11.64 52.65,10.83 52.65,10.83 53.04))",
          date=("20151219", "20151226"),
      )
      result = api.query(**params)
      n_intersects = len(result)
      assert n_intersects > 10
  
      result = api.query(area_relation="contains", **params)
      n_contains = len(result)
      assert 0 < n_contains < n_intersects
      result = api.query(area_relation="IsWithin", **params)
      n_iswithin = len(result)
      assert n_iswithin == 0
  
      # Check that unsupported relations raise an error
      with pytest.raises(ValueError):
          api.query(area_relation="disjoint", **params)
  
imports: from contextlib import contextmanager
  from datetime import datetime, date, timedelta
  import pytest
  import requests_mock
  from requests.exceptions import StreamConsumedError, ContentDecodingError, InvalidProxyURL, InvalidHeader, TooManyRedirects, ReadTimeout, SSLError
  from sentinelsat import format_query_date, SentinelAPI
  from sentinelsat.exceptions import QuerySyntaxError, QueryLengthError, UnauthorizedError
  from sentinelsat.sentinel import _format_order_by
label_desc: Use image node_id 23 for calling a global function with example usage: test_area_relation(api) without return types