code: def __check_host_args(self, host, keys):
          
          if host not in self.hosts_:
              raise ValueError("Host %s: not found" % host)
  
          if "host" in [x.lower() for x in keys]:
              raise ValueError("Cannot modify Host value")
docs: Checks parameters