title: Java8 streams to find multiple values and return boolean
body: <p>I am using java-8 to find the values in list of custom object. For ex)</p>
  
  <pre><code>List&lt;Employee&gt; employees = Arrays.asList(
          new Employee("Sachin Tendulkar", 41),
          new Employee("Sachin Tendulkar", 36),
          new Employee("MS Dhoni", 34),
          new Employee("Rahul Dravid", 40),
          new Employee("Lokesh Rahul", 25),
          new Employee("Sourav Ganguly", 40)
  );
  </code></pre>
  
  <p>To find a value in a list i can use the below query,</p>
  
  <pre><code>boolean isPresent = employees.stream()
              .allMatch(employee -&gt; (equalsIgnoreCase(employee.getName(),"Sachin Tendulkar") &amp;&amp; equalsIgnoreCase(employee.getAge(),"36")));
  </code></pre>
  
  <p>The above is working fine. But I would like to find "Sachin Tendulkar" with Age 36 and "Rahul Dravid" with 40. How to achieve this in Java8 streams. I have tried multiple "allMatch" but that doesn't work.</p>
  
  <p>Any hint would be appreciable.</p>