presto-spi/src/main/java/io/prestosql/spi/HostAddress.java/HostAddress/isValidPort
class HostAddress:    private static boolean isValidPort(int port)
    {
        return port >= 0 && port <= 65535;
    }