How to check whether the position is the beginning of node?

Any idea is welcome, Thanks.

parentOffset of the resolved position should be 0 (?).

Thanks.

If a node’s content of schema is block*, the middle node of childNode beginning is not 0.