is_dash_case

stringtools.is_dash_case(expr)

Is true when expr is a string and is hyphen delimited lowercase.

>>> stringtools.is_dash_case('foo-bar')
True

Otherwise false:

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

Returns true or false.