input: Write a function to create a Python program that includes a web-page rendering feature by opening a specified URL using the webbrowser module.
  assert webbrowser("www.example.com")==True
  assert webbrowser("www.google.com")==True
  assert webbrowser("www.invalidurl.com")==False
  assert webbrowser("")==False
  assert webbrowser(None)==False
output: def webbrowser(url):
      if not url or not isinstance(url, str):
          return False
      try:
          import webbrowser
          webbrowser.open(url)
          return True
      except:
          return False