There's not much to refactor here tbh, except for moving `isRoot` from `OdtDocument` to `OdfUtils` so that only 1 place declares roots.
Therefore, not very related to this PR, will fix that in a separate one.