title: Iterate list look for boolean attribute, return default false
body: <p>I have a list of objects, each object has a boolean attribute. For example,</p>
  
  <pre><code>public class A {
     private boolean isAvailable;
  }
  </code></pre>
  
  <p>I would like to iterate this list, get the value of "isavailable" of the first element in the list. If the list is empty or null, then I would like to return false.</p>
  
  <p>Can I do this efficiently with Java8 streams?</p>