is_snake_case

stringtools.is_snake_case(expr)

Is true when expr 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.