True when element itself carries a compact string ValueKey (testId).
element
bool hasCompactValueKey(Element element) { return readValueKeyLocatorId(element) != null; }