public bool checkifHost(string id) { Host h = dal.GetHost(id); if (h == null) { return(false); } return(true); }