class_docstr: OutputDispatcher is the base class to handle routing alerts to outputs
  
  Public methods:
      format_output_config: returns a formatted version of the outputs configuration
          that is to be written to disk
      get_user_defined_properties: returns any properties for this output that must be
          provided by the user. must be implemented by subclasses
      dispatch: handles the actual sending of alerts to the configured service. must
          be implemented by subclass
docstr: Method for checking for a valid HTTP response code
  
  Args:
      response (requests.Response): Response object from requests
  
  Returns:
      bool: Indicator of whether or not this request was successful
docstr_tok: ["Method","for","checking","for","a","valid","HTTP","response","code","Args",":","response","(","requests.Response",")",":","Response","object","from","requests","Returns",":","bool",":","Indicator","of","whether","or","not","this","request","was","successful"]
code: def _check_http_response(cls, response):
      """Method for checking for a valid HTTP response code
  
      Args:
          response (requests.Response): Response object from requests
  
      Returns:
          bool: Indicator of whether or not this request was successful
      """
      success = response is not None and (
          200 <= response.status_code <= 299
      )
      if not success:
          LOGGER.error(
              "Encountered an error while sending to %s:\n%s",
              cls.__service__,
              response.content,
          )
      return success
  
imports: from abc import ABCMeta, abstractmethod
  from collections import namedtuple
  import requests
  from requests.exceptions import Timeout
  import urllib3
  import backoff
  from streamalert.alert_processor.outputs.credentials.provider import OutputCredentialsProvider
  from streamalert.shared.backoff_handlers import backoff_handler, success_handler, giveup_handler
  from streamalert.shared.helpers.boto import REGION
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 12 for calling the OutputDispatcher obj's underlying member method code with example usage: obj._check_http_response(cls, response) and returns: success