is_snake_case

stringtools.is_snake_case(argument)

Is true when argument is a string and is underscore delimited lowercase.

>>> stringtools.is_snake_case('foo_bar')
True

Otherwise false:

>>> stringtools.is_snake_case('foo bar')
False

Returns true or false.