code: def test_is_end_of_month(self):
      cases = test_data.end_of_month_test_cases
      dates = dateslib.dates_from_tuples([case[0] for case in cases])
      expected = tf.constant([case[1] for case in cases])
      self.assertAllEqual(expected, dates.is_end_of_month())
  
imports: import datetime
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import test_data
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 28 for calling the DateTensorTest obj's underlying member method code with example usage: obj.test_is_end_of_month() without return types