public boolean isIpAddrOnly() {
        return type == Type.IP_ONLY;
    }
Returns whether this endpoint's host name is an IP address.

@return {@code true} if and only if this endpoint's host name is an IP address
core/src/main/java/com/linecorp/armeria/client/Endpoint.java