code: def instance(host=None, port=None):
          
  
          if not hasattr(WebServer, "_instance") or WebServer._instance is None:
              assert host is not None
              assert port is not None
              WebServer._instance = WebServer(host, port)
          return WebServer._instance
docs: Singleton to return only one instance of Server.
  
          :returns: instance of Server