code: def is_time(txt):
      fmts = (
          "%H:%M:%S.%f",
          "%M:%S.%fZ",
          "%Y-%m-%dT%H:%M:%S.%fZ",
          "%h:%M:%S.%f",
          "%-H:%M:%S.%f",
          "%H:%M",
          "%I:%M",
          "%H:%M:%S",
          "%I:%M:%S",
          "%H:%M:%S %p",
          "%I:%M:%S %p",
          "%H:%M %p",
          "%I:%M %p",
      )
      parsed = None
      for fmt in fmts:
          try:
              t = dt.datetime.strptime(txt, fmt)
              parsed = fmt
              return parsed
              break
          except ValueError as err:
              pass
      return parsed
  
imports: from typing import List
  import numpy
  import pandas
  import copy
  import pdb
  from sklearn.model_selection import TimeSeriesSplit
  import dask
  import dask.dataframe
  import datetime
  from datetime import datetime, date, time
label_desc: Use image node_id 11 for calling a global function with example usage: is_time(txt) and returns: parsed, parsed