code: public final boolean hasNode(String... path)
      {
          Xml node = root;
          for (final String element : path)
          {
              if (!node.hasChild(element))
              {
                  return false;
              }
              node = node.getChild(element);
          }
          return true;
      }
docs: Check if node exists.
  
  @param path The node path.
  @return <code>true</code> if node exists, <code>false</code> else.