input: Write a function to connect to a domain and fetch the contents of its homepage. If the connection is successful and the status code is 200, return the content of the homepage as a string. If the connection fails or the status code is not 200, return "Error fetching the page". If the domain is empty or None, return "Domain is empty or None".
  assert fetch_homepage("https://www.example.com/")=="<html><body>...</body></html>"
  assert fetch_homepage("https://www.invalidwebsite.com/")=="Error fetching the page"
  assert fetch_homepage("")=="Domain is empty or None"
  assert fetch_homepage(None)=="Domain is empty or None"
output: def fetch_homepage(domain):
      if not domain:
          return "Domain is empty or None"
      try:
          import requests
          response = requests.get(domain)
          if response.status_code == 200:
              return response.text
          else:
              return "Error fetching the page"
      except:
          return "Error fetching the page"