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.

TEST=FEATURES=test emerge-coral chromeos-config-tools

Change-Id: I80a55d2c04c5e133d63d90f5ec3d2dc1fb69357c
Signed-off-by: Simon Glass <>
Reviewed-by: Jason Clinton <>
1 file changed