class_docstr: Represents an interest rate curve.
docstr: Returns `True` if the interpolation is on rates and not on discounts.
docstr_tok: ["Returns","`","True","`","if","the","interpolation","is","on","rates","and","not","on","discounts","."]
code: def interpolate_rates(self) -> bool:
      """Returns `True` if the interpolation is on rates and not on discounts."""
      return self._interpolate_rates
  
imports: from typing import Optional, Tuple
  import tensorflow.compat.v2
  from tf_quant_finance import datetime
  from tf_quant_finance import math
  from tf_quant_finance import rates
  from tf_quant_finance.experimental.pricing_platform.framework.core import curve_types
  from tf_quant_finance.experimental.pricing_platform.framework.core import daycount_conventions
  from tf_quant_finance.experimental.pricing_platform.framework.core import interpolation_method
  from tf_quant_finance.experimental.pricing_platform.framework.core import processed_market_data
  from tf_quant_finance.experimental.pricing_platform.framework.core import types
  from tf_quant_finance.experimental.pricing_platform.framework.market_data import utils
label_desc: Use image node_id 17 for calling the RateCurve obj's underlying member method code with example usage: obj.interpolate_rates() and returns: self