Ask a question to get started
Enter to send•Shift+Enter new line
Return True if the channel is available (not empty), False otherwise.
True
False
Subclasses should override this method to provide a more efficient implementation than calling get() and catching EmptyChannelError.
get()
EmptyChannelError
is_available( self, ) -> bool