added getters for HasChild and Or