code: function isResponseValid(response) {
    return !/^\s*\{\s*"advertisementAvailable"\s*:\s*false/i.test(response.content) &&
      response.content.indexOf('<VAST version="2.0"></VAST>') === -1 && (typeof response.cpm !== 'undefined') &&
      response.status === 1;
  }
docs: Validates response from Lifestreet AD server