isFirstSegment

Checks if the current segment is the first segment