title: RelativeLayout check runtime if is removed or not
body: <p>In an <code>activity</code> I am changing one of the <code>ViewGroup</code> content runtime: buttons action, other events.</p>
  
  <p>At a specific case I need to check if a child is in this <code>layout</code> or not ( in this case the child is another <code>RelativeLayout</code>, which hold other views)</p>
  
  <p>How can I check runtime, programmatically if <code>child_1_RelativeLayout</code> is there or is already removed from view tree, his parent is <code>parentRelativeLayout</code></p>
  
  <p>The <a href="http://developer.android.com/reference/android/view/View.html#getParent%28%29" rel="nofollow">getParent()</a> is usefully? - not much explanation how to use it, thanks.</p>