isFirstSegment