is Host Valid

open fun isHostValid(host: String): Boolean

Method to validate a host

Return

whether the host is valid or not as boolean

Parameters

host

: host value to check the validity