code: def time(value):
      
      if isinstance(value, str):
          value = to_time(value)
      return literal(value, type=dt.time)
docs: Returns a time literal if value is likely coercible to a time
  
      Parameters
      ----------
      value : time value as string
  
      Returns
      --------
      result : TimeScalar