public boolean isEmpty() {
        return connections.isEmpty();
    }
is connection pool empty

@return true if this connection pool has no connection
src/main/java/com/alipay/remoting/ConnectionPool.java