Decides whether a string is a valid isodate format