code: func checkDate(date time.Time) bool {
  	minDate := time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC)
  	maxDate := time.Date(2200, 1, 1, 0, 0, 0, 0, time.UTC)
  	if date.Before(minDate) || date.After(maxDate) {
  		return false
  	}
  	return true
  }
docs: // Check if the date is valid.