IsTime check if string is valid according to given format
(str string, format string)
source not stored for this graph (policy: none)