chromeos-config: Allow ElementPresent() to use node directly

Now that this function is in the validator it can access nodes and
properties directly. Adjust the arguments to pass the parent node and have
it calculate the sibling list itself. For now we do not access any other
nodes, but future work will add this.

BUG=chromium:761265
TEST=FEATURES=test emerge-coral chromeos-config-tools

Change-Id: I80a55d2c04c5e133d63d90f5ec3d2dc1fb69357c
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/721017
Reviewed-by: Jason Clinton <jclinton@chromium.org>
1 file changed