should be getChildren(), even bettter children(), but certainly not hasChildren().