class_docstr: Test class for OutputDispatcher
docstr: OutputDispatcher - Check HTTP Response
docstr_tok: ["OutputDispatcher","-","Check","HTTP","Response"]
code: def test_check_http_response(self, mock_response):
      """OutputDispatcher - Check HTTP Response"""
      # Test with a good response code
      mock_response.status_code = 200
      result = self._dispatcher._check_http_response(mock_response)
      assert_equal(result, True)
  
      # Test with a bad response code
      mock_response.status_code = 440
      result = self._dispatcher._check_http_response(mock_response)
      assert_equal(result, False)
  
imports: from mock import Mock, patch, MagicMock
  from moto import mock_kms, mock_ssm
  from nose.tools import assert_equal, assert_is_instance, assert_is_not_none, assert_is_none, assert_count_equal
  from requests.exceptions import Timeout
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, OutputRequestFailure, StreamAlertOutput
  from streamalert.alert_processor.outputs.aws import S3Output
  from tests.unit.streamalert.alert_processor import CONFIG, KMS_ALIAS, MOCK_ENV, REGION, PREFIX
  from tests.unit.streamalert.alert_processor.helpers import put_mock_ssm_parameters
label_desc: Use image node_id 5 for calling the TestOutputDispatcher obj's underlying member method code with example usage: obj.test_check_http_response(mock_response) without return types