Reduce dictionary of deque to single boolean
<p>I want d to evaluate to <code>True</code> iff all values in <code>d</code> are empty</p>

<pre><code>from collections import deque

d = {'a': deque([1,2,3]), 'b': deque([1,2,3]), 'c': deque([1,2,3])}
</code></pre>

<p>I've tried <code>reduce</code> but I'm clearly missing something important. </p>

<p>Thanks in advance! </p>

<p>As Peter Wood kindly pointed out, <code>not any(d.values())</code> does the trick nicely. </p>

python python-2.7