title: How to check if a view has children
body: <p>Is there a way to check if a view has children? For example...</p>
  
  <pre><code>boolean bool = view.hasChildren(); //returns true if view has one or more children
  </code></pre>
  
  <p>I need to know this because I have an empty layout I'm adding new views to dynamically and I need to know if the layout is empty or not.  </p>