Implemented Channel._has_queue() and added docstring