input: Write a function to include a web-page rendering feature by opening a given URL in the default web browser. The function should take a single argument representing the URL and use the webbrowser library to open it. If the URL is empty, the function should return False, otherwise it should return True after attempting to open the URL.
  assert open_webpage("www.example.com")==True
  assert open_webpage("https://www.google.com")==True
  assert open_webpage("")==False
  assert open_webpage("www.invalidurl.com")==True
  assert open_webpage(None)==False
output: def open_webpage(url):
      if not url:
          return False
      import webbrowser
      webbrowser.open(url)
      return True