is there a util function that returns true If a string is a valid date while passing format like DD/MM/YYYY