public boolean inSubtrees( T element )
    {
        for ( Tree<T> child : getChildren() )
        {
            if ( child.isElement( element ) || child.inSubtrees( element ) )
            {
                return true;
            }
        }
        return false;
    }
public boolean inSubtrees ( T element ) { for ( Tree < T > child : getChildren ( ) ) { if ( child . isElement ( element ) || child . inSubtrees ( element ) ) { return true ; } } return false ; }
@param element
@return true if element is contained in this node subtrees.