/**
  * Test a connection to Google
  *
  * @return bool
  */
 private function test_connection_to_google()
 {
     $wp_http = new WP_Http();
     if ($wp_http->block_request('https://www.googleapis.com/analytics/v3/management/accountSummaries') === false) {
         return true;
     }
     return false;
 }
 /**
  * Check if the API host address is available from this server
  *
  * @return bool
  */
 private function check_api_host_availability()
 {
     $wp_http = new WP_Http();
     if ($wp_http->block_request($this->product->get_api_url()) === false) {
         return true;
     }
     return false;
 }