isValid

fun isValid(address: String): Boolean

Whether address is one a URI takes as its authority, as the internal port's clients join it: not a bare IPv6 literal (::1:9090, whose colons cannot be told from the port's), which of writes as [::1]:9090.