added isAtElem{Start|End} utils to point