docs: function attemptToExtractStatusCode(req) {
  
    if (has(req, 'response') && isObject(req.response) &&
        has(req.response, 'statusCode')) {
  
      return req.response.statusCode;
    } else if (has(req, 'response') && isObject(req.response) &&
               isObject(req.response.output)) {
  
      return req.response.output.statusCode;
    }
  
    return 0;
  }