title: Does java.util.List.isEmpty() check if the list itself is null?
body: <p>Does <code>java.util.List.isEmpty()</code> check if the list itself is <code>null</code>, or do I have to do this check myself?</p>
  
  <p>For example:</p>
  
  <pre><code>List&lt;String&gt; test = null;
  
  if (!test.isEmpty()) {
      for (String o : test) {
          // do stuff here            
      }
  }
  </code></pre>
  
  <p>Will this throw a <code>NullPointerException</code> because test is <code>null</code>?</p>