add isFull method and inline documentation