is_dash_case

stringtools.is_dash_case(argument)

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