isResolvable("host")
If host() is a string like www and can be resolved through DNS, then this function returns true.