code: def describe_instance_status_ok(ec2_client_stub, instance_ids):
      ec2_client_stub.add_response(
          "describe_instance_status",
          expected_params={"InstanceIds": instance_ids},
          service_response={
              "InstanceStatuses": [
                  {
                      "InstanceId": instance_id,
                      "InstanceState": {"Code": 16, "Name": "running"},
                      "AvailabilityZone": "us-west-2",
                      "SystemStatus": {
                          "Status": "ok",
                          "Details": [
                              {
                                  "Status": "passed",
                                  "Name": "reachability",
                              }
                          ],
                      },
                      "InstanceStatus": {
                          "Status": "ok",
                          "Details": [
                              {
                                  "Status": "passed",
                                  "Name": "reachability",
                              }
                          ],
                      },
                  }
              ]
              for instance_id in instance_ids
          },
      )
  
imports: from typing import Dict, List
  import ray
  import copy
  import json
  from uuid import uuid4
  from ray.tests.aws.utils import helpers
  from ray.tests.aws.utils.constants import DEFAULT_INSTANCE_PROFILE, DEFAULT_KEY_PAIR, DEFAULT_SUBNET, A_THOUSAND_SUBNETS_IN_DIFFERENT_VPCS, DEFAULT_LT, TWENTY_SUBNETS_IN_DIFFERENT_AZS
  from ray.autoscaler._private.aws.config import key_pair
  from ray.tests.aws.utils.helpers import get_cloudwatch_dashboard_config_file_path, get_cloudwatch_alarm_config_file_path
  from ray.autoscaler._private.aws.cloudwatch.cloudwatch_helper import CLOUDWATCH_AGENT_INSTALLED_TAG, CLOUDWATCH_CONFIG_HASH_TAG_BASE
  from ray.autoscaler.tags import NODE_KIND_HEAD, TAG_RAY_NODE_KIND
  from unittest import mock
  from botocore.stub import ANY
label_desc: Use image node_id 21 for calling a global function with example usage: describe_instance_status_ok(ec2_client_stub, instance_ids) without return types