isSegment

Returns whether value is a valid lowercase snake_case segment.

Return

true when it starts with a letter and contains only a-z, 0-9, and _.

Parameters

value

The candidate segment.