In ContentChannel contentListener, added function isDone since it needs to wrap the ContentChannel.isDone.