Can we use a more robust check than this? For example, `if re.match("\d:\d\d:\d\d", string)`.

Also, `string` is a *terrible* name for a variable. Can you rename it to something more meaningful?