code: def test_all_models_are_listed_after_creating_many_models(
      sagemaker_client,
  ):
      model_names = []
  
      for i in range(100):
          model_name = f"sample-model-{i}"
          model_names.append(model_name)
  
          create_sagemaker_model(
              sagemaker_client=sagemaker_client, model_name=model_name
          )
  
      listed_models = sagemaker_client.list_models()["Models"]
      listed_model_names = [
          model["ModelName"] for model in listed_models
      ]
      for model_name in model_names:
          assert model_name in listed_model_names
  
imports: import boto3
  import pytest
  from tests.helper_functions import set_boto_credentials
  from tests.sagemaker.mock import mock_sagemaker
label_desc: Use image node_id 7 for calling a global function with example usage: test_all_models_are_listed_after_creating_many_models(sagemaker_client) without return types