code: final boolean isIdle() {
        for(ConnectionPoolConnection conn : connections) {
           if(conn.state.get() == ConnectionPoolConnection.STATE_OPEN) {
              return false;
           }
        }
        return true;
     }
docs: Determine if this segment is currently idle.
  @return Is the segment idle?