code: def test_list_jumpstart_models_complex_queries(
      self,
      patched_read_s3_file: Mock,
      patched_get_manifest: Mock,
  ):
      patched_read_s3_file.side_effect = (
          lambda *args, **kwargs: json.dumps(
              get_prototype_model_spec(
                  None, "pytorch-eqa-bert-base-cased"
              ).to_json()
          )
      )
      patched_get_manifest.side_effect = (
          lambda region, *args, **kwargs: get_prototype_manifest(region)
      )
  
      assert list_jumpstart_models(
          Or(
              And(
                  "task is ic",
                  "framework is not huggingface",
                  And("training_supported is true", Not("false")),
                  "true",
              ),
              "false",
              "unknown",
          )
      ) == ["tensorflow-ic-bit-m-r101x1-ilsvrc2012-classification-1"]
  
      assert list_jumpstart_models(
          Or(
              And(
                  "task is ic",
                  "framework==tensorflow",
                  Identity(
                      And(
                          And("incremental_training_supported==falSE"),
                          "true",
                          Or("unknown", "version equals 1.0.0"),
                      )
                  ),
                  And("training_supported is true", Not("false")),
                  "true",
              ),
              "false",
              "unknown",
          )
      ) == ["tensorflow-ic-bit-m-r101x1-ilsvrc2012-classification-1"]
  
imports: from __future__ import absolute_import
  import json
  from unittest import TestCase
  from unittest.mock import Mock, patch
  import pytest
  from sagemaker.jumpstart.constants import DEFAULT_JUMPSTART_SAGEMAKER_SESSION, JUMPSTART_DEFAULT_REGION_NAME
  from sagemaker.jumpstart.filters import And, Identity, Not, Or
  from tests.unit.sagemaker.jumpstart.constants import PROTOTYPICAL_MODEL_SPECS_DICT
  from tests.unit.sagemaker.jumpstart.utils import get_header_from_base_header, get_prototype_manifest, get_prototype_model_spec
  from sagemaker.jumpstart.notebook_utils import _generate_jumpstart_model_versions, get_model_url, list_jumpstart_frameworks, list_jumpstart_models, list_jumpstart_scripts, list_jumpstart_tasks
label_desc: Use image node_id 10 for calling the ListJumpStartModels obj's underlying member method code with example usage: obj.test_list_jumpstart_models_complex_queries(patched_read_s3_file, patched_get_manifest) without return types