public boolean isEmpty() {
    return size == 0;
  }
judge if circular queue is empty.

@return if empty, return true; else return false
library-udf/src/main/java/org/apache/iotdb/library/util/BooleanCircularQueue.java