boolean isSingleton() {
            return prev == this && next == this;
        }
Returns true if this node is the only element in its list.
server-common/src/main/java/org/apache/kafka/queue/KafkaEventQueue.java