MINOR: lua: add function which return true if the channel is full.

Add function which return true if the channel is full. It is
useful for triggering some process when the buffer is full.
diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst
index c42b2f3..77c2266 100644
--- a/doc/lua-api/index.rst
+++ b/doc/lua-api/index.rst
@@ -1070,6 +1070,11 @@
   :param class_channel channel: The manipulated Channel.
   :param integer int: The amount of data which will be forwarded.
 
+.. js:function:: Channel.is_full(channel)
+
+  This function returns true if the buffer channel is full.
+
+  :returns: a boolean
 
 .. _http_class: