code: def check_valid_ad_range(date):
      
      if date < values.START_EN_DATE or date > values.END_EN_DATE:
          raise ValueError("Date out of range")
      return True
docs: Checks if the english date is in valid range for conversion