def __check_host_args(self, host, keys):
if host not in self.hosts_:<EOL><INDENT>raise ValueError("<STR_LIT>" % host)<EOL><DEDENT>if "<STR_LIT:host>" in [x.lower() for x in keys]:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>
Checks parameters