struct. Simply test the "no_host" variable, which if true implies that the hostdata contains bogus data, and act accordingly.