docstr: Returns ``True`` if the given ``day`` (datetime/date) instance is the
  last trading day of this month
docstr_tok: ["Returns","``","True","``","if","the","given","``","day","``","(","datetime\/date",")","instance","is","the","last","trading","day","of","this","month"]
code: def last_yearday(self, day):
      """
      Returns ``True`` if the given ``day`` (datetime/date) instance is the
      last trading day of this month
      """
      # Next day must be greater than day. If the week changes is enough for
      # a week change even if the number is smaller (year change)
      return day.year != self._nextday(day)[0].year
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from datetime import datetime, timedelta, time
  from .metabase import MetaParams
  from backtrader.utils.py3 import string_types, with_metaclass
  from backtrader.utils import UTC
label_desc: Use image node_id 7 for calling the TradingCalendarBase obj's underlying member method code with example usage: obj.last_yearday(day) and returns: unknown