code: def _assert_any_call_at_least(mobj, *args, **kwargs):
      if not mobj.call_args_list:
          raise AssertionError(f"no calls to {mobj=}")
      for call in mobj.call_args_list:
          if all(
              call.kwargs.get(k) == v for k, v in kwargs.items()
          ) and all(call.args[i] == v for i, v in enumerate(args)):
              return
      else:
          raise AssertionError(
              f"No valid call to {mobj=} with {args=} and {kwargs=}"
          )
  
file_path: mlflow/tests/gateway/providers/test_bedrock.py
imports: from unittest import mock
  import pytest
  from fastapi.encoders import jsonable_encoder
  from mlflow.gateway.config import AWSBaseConfig, AWSBedrockConfig, AWSIdAndKey, AWSRole, RouteConfig
  from mlflow.gateway.providers.bedrock import AWSBedrockModelProvider, AWSBedrockProvider
  from mlflow.gateway.schemas import completions
  from tests.gateway.providers.test_anthropic import completions_response
  from tests.gateway.providers.test_anthropic import parsed_completions_response
  from tests.gateway.providers.test_cohere import completions_response
label_desc: Use image node_id 4 for calling a global function with example usage: _assert_any_call_at_least(mobj) without return types