title: Check if some object in ArrayList fulfills some condition
body: <p>I have an <code>ArrayList&lt;Person&gt; persons</code>.  I want to check if some person in persons fulfills a condition. Like: <code>person.isFemale()</code></p>
  
  <p>Instead of looping the list, is there any nicer way to perform this? Some mapping or lambda way maybe?</p>
  
  <p>Edit:</p>
  
  <p>Hello and thanks for the replies! </p>
  
  <p>I think I asked the wrong question.. 
  I want to check if any object in the list differ from any other: 
  boolean different = (if isMale() &amp;&amp; isFemale()) somewhere in the list. </p>