code: def is_timestamp(obj):
      
      return isinstance(obj, datetime.datetime) or is_string(obj) or is_int(obj) or is_float(obj)
docs: Yaml either have automatically converted it to a datetime object
      or it is a string that will be validated later.