input: Write a function to create a web scraper that extracts specific data from a given website. The scraper should utilize the Python package BeautifulSoup to parse webpages and extract the required data. If the data is found, it can be converted into the desired format and stored. The function should take a URL and a list of tags/attributes to look for as inputs.
  assert web_scraper("<url_of_webpage>", ['a', 'href'])==True
  assert web_scraper("<another_url>", ['div', 'class'])==True
  assert web_scraper("<invalid_url>", ['span', 'id'])==False
  assert web_scraper("<existing_url>", [])==False
  assert web_scraper("", ['a', 'href'])==False
output: 
  def web_scraper(url, tags):
      if not url or not tags:
          return False
      try:
          import requests
          from bs4 import BeautifulSoup
          response = requests.get(url)
          if response.status_code != 200:
              return False
          soup = BeautifulSoup(response.content, 'html.parser')
          for tag in tags:
              elements = soup.find_all(tag)
              if not elements:
                  return False
          return True
      except:
          return False
  