input: Write a function to create a web scraper in Python that can extract hotel reviews from TripAdvisor. The function should take a URL as an input, make a request with appropriate headers, parse the HTML using BeautifulSoup, find all review containers, and extract the title and text of each review. If the scraper is completed successfully, return True; otherwise, return False.
  assert tripadvisor_scraper('<url>')==True
output: def tripadvisor_scraper(url):
      import requests
      from bs4 import BeautifulSoup
      
      headers = {
          'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'}
      
      try:
          response = requests.get(url, headers=headers)
          response.raise_for_status()
          soup = BeautifulSoup(response.text, 'html.parser')
          review_containers = soup.find_all('div', class_='review-container')
          
          for review in review_containers:
              title = review.find('span', class_='noQuotes').text
              text = review.find('p', class_='partial_entry').text
              print(f"Title: {title}\nText: {text}\n")
          
          return True
      except Exception as e:
          return False