code: def test_is_adversarial(
      art_warning, image_dl_estimator, fix_get_mnist_subset
  ):
      try:
          (
              x_train_mnist,
              y_train_mnist,
              x_test_mnist,
              y_test_mnist,
          ) = fix_get_mnist_subset
  
          classifier, _ = image_dl_estimator(from_logits=True)
          attack = GeoDA(
              estimator=classifier,
              sub_dim=5,
              max_iter=4000,
              verbose=False,
          )
  
          assert not attack._is_adversarial(
              x_adv=x_test_mnist[[0]], y_true=y_test_mnist[[0]]
          )
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/evasion/test_geometric_decision_based_attack.py
imports: import logging
  import pytest
  import numpy
  from art.attacks.evasion.geometric_decision_based_attack import GeoDA
  from art.estimators.estimator import BaseEstimator
  from art.estimators.classification.classifier import ClassifierMixin
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 3 for calling a global function with example usage: test_is_adversarial(art_warning, image_dl_estimator, fix_get_mnist_subset) without return types