check if host_name is empty