MT safe.
Element.syncStateWithParent
bool syncStateWithParent() nothrowTries to change the state of the element to the same as its parent. If this function returns false, the state of element is undefined.
Returns
true, if the element's state could be synced to the parent's state.