input: Write a function to include a web-page rendering feature by opening a specified URL in the default web browser. The function should take a URL as an input and use the `webbrowser` module to open it. If the URL is successfully opened, the function should return True; otherwise, it should return False.
  assert render_webpage("www.example.com")==True
  assert render_webpage("invalid-url")==False
  assert render_webpage("")==False
output: def render_webpage(url):
      import webbrowser
      try:
          webbrowser.open(url)
          return True
      except:
          return False