class ConnectionPool::TimedStack

def connection_stored?(options = nil)

This method must returns true if a connection is available on the stack.

This is an extension point for TimedStack and is called with a mutex.
#
def connection_stored?(options = nil)
  !@que.empty?
end