isValid

fun LocalTime.Companion.isValid(time: String): Boolean

Returns true if time is a valid time string