class_docstr: Bing Maps REST Services
  =======================
  The Bing™ Maps REST Services Application Programming Interface (API)
  provides a Representational State Transfer (REST) interface to
  perform tasks such as creating a static map with pushpins, geocoding
  an address, retrieving imagery metadata, or creating a route.
  
  API Reference
  -------------
  http://msdn.microsoft.com/en-us/library/ff701714.aspx
  
  Dataflow Reference
  ------------------
  https://msdn.microsoft.com/en-us/library/ff701733.aspx
code: def _connect(self):
      self.status_code = "Unknown"
  
      try:
          self.response = response = self.session.post(
              self.url,
              data=self.batch,
              params=self.params,
              headers=self.headers,
              timeout=self.timeout,
              proxies=self.proxies,
          )
  
          # check that response is ok
          self.status_code = response.status_code
          response.raise_for_status()
  
          # rely on json method to get non-empty well formatted JSON
          json_response = response.json()
          self.url = response.url
          LOGGER.info("Requested %s", self.url)
  
          # get the resource/job id
          resource_id = self.extract_resource_id(json_response)
          elapsed = 0
  
          # try for _BATCH_TIMEOUT seconds to retrieve the results of that job
          while elapsed < self._BATCH_TIMEOUT:
              if self.is_job_done(resource_id):
                  return self.get_job_result(resource_id)
  
              elapsed = elapsed + self._BATCH_WAIT
              time.sleep(self._BATCH_WAIT)
  
          LOGGER.error("Job was not finished in time.")
  
      except (requests.exceptions.RequestException, LookupError) as err:
          # store real status code and error
          self.error = "ERROR - {}".format(str(err))
          LOGGER.error(
              "Status code %s from %s: %s",
              self.status_code,
              self.url,
              self.error,
          )
  
      return False
  
imports: from __future__ import absolute_import, print_function
  from geocoder.base import OneResult, MultipleResultsQuery
  from geocoder.keys import bing_key
  import time
  import io
  import requests
  import logging
  import sys
label_desc: Use image node_id 6 for calling the BingBatch obj's underlying member method code with example usage: obj._connect() and returns: False, self