code: def matching_base_url(self, url):
          
  
          n = len(self.baseurl)
          return url[0:n] == self.baseurl
docs: Return True if the initial part of `url` matches the base url
          passed to the initialiser of this object, and False otherwise.