title: Filter groups by occurrence of multiple values in another column
body: <p>Similar to <a href="https://stackoverflow.com/questions/40825037/filter-groups-by-occurrence-of-a-value">this question</a> but with an added wrinkle.  I'd like to filter only groups of rows that have both of two (or all of several) values in a particular column in any row of the group.</p>
  
  <p>For example, say I have this dataframe:</p>
  
  <pre><code>df &lt;- data.frame(Group=LETTERS[c(1,1,1,2,2,2,3,3,3,3)], Value=c(5, 1:4, 1:4, 5))
  </code></pre>
  
  <p>And I want those letters where any letter has both a row with a corresponding value of 4 AND a row with a corresponding value of 5, so this:</p>
  
  <pre><code>  Group Value
    &lt;fct&gt; &lt;dbl&gt;
  1 C         2
  2 C         3
  3 C         4
  4 C         5
  </code></pre>
  
  <p>I can do that with a pair of <code>any</code> calls inside <code>filter</code> like this:</p>
  
  <pre><code>df %&gt;% 
    group_by(Group) %&gt;% 
    filter(any(Value == 4),
           any(Value == 5))
  </code></pre>
  
  <p>Is there a way to do the filter call in one line?  Something like: (note <strong>this doesn't work</strong>, <code>all_of</code> is not a real function)</p>
  
  <pre><code>df %&gt;% 
    group_by(Group) %&gt;% 
    filter(all_of(Value == 4 &amp; Value == 5))
  </code></pre>